More map work
This commit is contained in:
@@ -1343,7 +1343,11 @@ GameState.prototype.update = function()
|
|||||||
}
|
}
|
||||||
return;
|
return;
|
||||||
} else {
|
} 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);
|
this.physics.arcade.collide(x, player);
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user