cleaned up testing code
This commit is contained in:
1 parent
aaff8e7d6b
commit
ca9a72e338
1 file changed
+3
-1
@@ -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);
|
||||
|
||||
Reference in new issue
Block a user