diff options
| author | historia <[not public]> | 2026-07-09 19:29:17 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-09 19:29:17 -0400 |
| commit | b3d4c616f59ad2519f3a0b77e3b47d6571cd2486 (patch) | |
| tree | 6f1f6a314e0550da68264a79381fc269db803312 /internal/game/cmd_move.go | |
| parent | 18c7af94b30c2767b6633d050324c1db34074ce2 (diff) | |
| download | thehouseoficarus-b3d4c616f59ad2519f3a0b77e3b47d6571cd2486.tar.gz | |
feat: message actions are now sequences of messages with settable delays
Diffstat (limited to 'internal/game/cmd_move.go')
| -rw-r--r-- | internal/game/cmd_move.go | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/internal/game/cmd_move.go b/internal/game/cmd_move.go index d05146a..4391b1f 100644 --- a/internal/game/cmd_move.go +++ b/internal/game/cmd_move.go @@ -186,8 +186,7 @@ func (g *Game) completeMove(sess *net.Session, p *player.Player) { // time) AFTER p.RoomID is set to the new room, so effect fields like // aps_node / teleport operate on the destination as their reference frame. if pendingInteraction != nil { - g.writePlayerMessage(sess, pendingInteraction.Message, p.Name, nil) - g.applyStepAction(sess, p, pendingInteraction.Action, p.RoomID, scopePlayer, nil) + g.runInteraction(sess, p, pendingInteraction.Action, p.RoomID, scopePlayer, nil) } g.AccountStore.SaveCharacter(p) |
