aboutsummaryrefslogtreecommitdiff
path: root/internal/game/cmd_room_insert.go
diff options
context:
space:
mode:
authorhistoria <[not public]>2026-07-09 22:15:54 -0400
committerhistoria <[not public]>2026-07-09 22:15:54 -0400
commitecba7f726f70b37126d852c38c7e3eec7b04d730 (patch)
tree9129215c6e5015336fde1116395336d82bb952d1 /internal/game/cmd_room_insert.go
parentb3d4c616f59ad2519f3a0b77e3b47d6571cd2486 (diff)
downloadthehouseoficarus-ecba7f726f70b37126d852c38c7e3eec7b04d730.tar.gz
feat: old standalone trigger systems completely unified into trigger->condition->action system
Diffstat (limited to 'internal/game/cmd_room_insert.go')
-rw-r--r--internal/game/cmd_room_insert.go5
1 files changed, 1 insertions, 4 deletions
diff --git a/internal/game/cmd_room_insert.go b/internal/game/cmd_room_insert.go
index 15b05ef..132469d 100644
--- a/internal/game/cmd_room_insert.go
+++ b/internal/game/cmd_room_insert.go
@@ -177,10 +177,7 @@ func (g *Game) roomInsert(sess *net.Session, args []string) {
}
p.Action = nil
g.cancelRest(p.Name)
- g.cancelEnterSeq(p.Name)
- if p.EnterSeqRoom != 0 && p.EnterSeqRoom == oldRoom {
- p.EnterSeqRoom = 0
- }
+ g.cancelSequences(p.Name)
if ss, ok := g.safespot.Get(p.Name); ok {
g.forceLeaveSafespot(sess, p, &ss, "")
}