More map work

This commit is contained in:
2014-06-15 18:59:25 -07:00
parent feaa2995b7
commit 29aece172c

View File

@@ -1343,7 +1343,11 @@ GameState.prototype.update = function()
}
return;
} else {
x.setAwarenessEffect(STATE_LOSTHIM);
if ( hasState(x, STATE_LOSTHIM) == false ) {
x.setAwarenessEffect(STATE_LOSTHIM);
} else {
x.setAwarenessEffect(STATE_NONE);
}
}
this.physics.arcade.collide(x, player);
}