From bab5dd653039d026eb3d4e46da7aafef7137fe7c Mon Sep 17 00:00:00 2001 From: historia <[not public]> Date: Sat, 19 Sep 2026 03:52:04 -0400 Subject: fix: journal in-game room insert/remove, rewrite non-room room refs on rename/swap, seed admin grid from edited room, type action switches --- internal/game/tick.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'internal/game/tick.go') diff --git a/internal/game/tick.go b/internal/game/tick.go index a57ea26..6c3eb7d 100644 --- a/internal/game/tick.go +++ b/internal/game/tick.go @@ -208,7 +208,7 @@ func (g *Game) SharedDepletionTick() { activeKeys := make(map[string]bool) for _, sess := range g.Hub.AllSessions() { p := sess.Player - if p == nil || p.Action == nil || p.Action.Type != "gather" { + if p == nil || p.Action == nil || p.Action.Type != behavior.TypeGather { continue } if gd, ok := p.Action.Data.(*behavior.GatherData); ok { -- cgit v1.2.3