diff options
| author | historia <[not public]> | 2026-07-08 19:59:14 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-08 19:59:14 -0400 |
| commit | 09d325dcf5e779eab5550d3fd3377bde50101428 (patch) | |
| tree | a433be903aabbf1d2eadce2aacdac12a9eb8dde0 /internal/game/cmd_room_remove.go | |
| parent | 9184377301c2604e003f36426788c032fb0ca524 (diff) | |
| download | thehouseoficarus-09d325dcf5e779eab5550d3fd3377bde50101428.tar.gz | |
feat: unify on use, on look, and on kill. all support same conditions/actions now.
Diffstat (limited to 'internal/game/cmd_room_remove.go')
| -rw-r--r-- | internal/game/cmd_room_remove.go | 6 |
1 files changed, 2 insertions, 4 deletions
diff --git a/internal/game/cmd_room_remove.go b/internal/game/cmd_room_remove.go index 28433ff..187ec34 100644 --- a/internal/game/cmd_room_remove.go +++ b/internal/game/cmd_room_remove.go @@ -171,8 +171,7 @@ func (g *Game) roomRemove(sess *net.Session, args []string) { Room: cID, Condition: aExit.Condition, BlockedMessage: aExit.BlockedMessage, - SetGlobalFlags: aExit.SetGlobalFlags, - SetPlayerFlags: aExit.SetPlayerFlags, + OnTraverse: aExit.OnTraverse, Hidden: aExit.Hidden, AlwaysBlocked: aExit.AlwaysBlocked, } @@ -191,8 +190,7 @@ func (g *Game) roomRemove(sess *net.Session, args []string) { Room: aID, Condition: cOppExit.Condition, BlockedMessage: cOppExit.BlockedMessage, - SetGlobalFlags: cOppExit.SetGlobalFlags, - SetPlayerFlags: cOppExit.SetPlayerFlags, + OnTraverse: cOppExit.OnTraverse, Hidden: cOppExit.Hidden, AlwaysBlocked: cOppExit.AlwaysBlocked, } |
