cleaned up testing code

This commit is contained in:
2023-04-14 20:53:21 -05:00
parent aaff8e7d6b
commit ca9a72e338
+3 -1
View File
@@ -564,7 +564,9 @@ public class MobileFSM {
return; return;
} }
//add default behaviour type //add default behaviour type
mob.BehaviourType = MobBehaviourType.Aggro; if(mob.BehaviourType == null){
mob.BehaviourType = MobBehaviourType.Simple;
}
if (mob.isAlive() == false) { if (mob.isAlive() == false) {
//no need to continue if mob is dead, check for respawn and move on //no need to continue if mob is dead, check for respawn and move on
CheckForRespawn(mob); CheckForRespawn(mob);