Fix enemy difficulty spawn logic

Signed-off-by: Hans Kokx <hans.d.kokx@gmail.com>
This commit is contained in:
2026-03-17 18:46:44 +01:00
parent 62fce48527
commit 673f82108d
10 changed files with 78 additions and 49 deletions

View File

@@ -416,7 +416,7 @@ class WolfEngine {
// Wake them up!
if (entity.state == EntityState.idle ||
entity.state == EntityState.chasing) {
entity.state == EntityState.ambushing) {
entity.state = EntityState.patrolling;
entity.lastActionTime = _timeAliveMs;
}