From ca9a72e338ee87f0f36c3242079e0084e52cb4f7 Mon Sep 17 00:00:00 2001 From: FatBoy-DOTC Date: Fri, 14 Apr 2023 20:53:21 -0500 Subject: [PATCH] cleaned up testing code --- src/engine/ai/MobileFSM.java | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/src/engine/ai/MobileFSM.java b/src/engine/ai/MobileFSM.java index 04124152..983fed19 100644 --- a/src/engine/ai/MobileFSM.java +++ b/src/engine/ai/MobileFSM.java @@ -564,7 +564,9 @@ public class MobileFSM { return; } //add default behaviour type - mob.BehaviourType = MobBehaviourType.Aggro; + if(mob.BehaviourType == null){ + mob.BehaviourType = MobBehaviourType.Simple; + } if (mob.isAlive() == false) { //no need to continue if mob is dead, check for respawn and move on CheckForRespawn(mob);