diff options
Diffstat (limited to 'internal/game/tick.go')
| -rw-r--r-- | internal/game/tick.go | 2 |
1 files changed, 1 insertions, 1 deletions
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 { |
