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;
|
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);
|
||||||
|
|||||||
Reference in new issue
Block a user