diff options
| author | historia <[not public]> | 2026-07-17 18:36:31 -0400 |
|---|---|---|
| committer | historia <[not public]> | 2026-07-17 18:36:31 -0400 |
| commit | e6d0d46ac9977e77c7f19f41121ec466a3c53e56 (patch) | |
| tree | 86063e0dfda2206ccdda1b8e1070dc4da7dea9d9 /internal/game/cmd_walk.go | |
| parent | 6e6c4a157564100249bb58f412485055bb2d10cf (diff) | |
| download | thehouseoficarus-e6d0d46ac9977e77c7f19f41121ec466a3c53e56.tar.gz | |
feat: update mob flee mechanics with new energy system
Diffstat (limited to 'internal/game/cmd_walk.go')
| -rw-r--r-- | internal/game/cmd_walk.go | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/internal/game/cmd_walk.go b/internal/game/cmd_walk.go index 66e7548..80600af 100644 --- a/internal/game/cmd_walk.go +++ b/internal/game/cmd_walk.go @@ -115,6 +115,9 @@ func (g *Game) advanceWalk(sess *net.Session, p *player.Player) { if p.MoveTicks > 0 { return } + if p.EscapeDir != "" { + return + } if len(p.WalkSequence) == 0 { return } |
