Close #29 : I feel so stupid.
This commit is contained in:
@@ -133,6 +133,11 @@ var AISprite = function(game, x, y, key, frame) {
|
|||||||
state != STATE_ALERTED ) {
|
state != STATE_ALERTED ) {
|
||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
if ( state == STATE_ALERTED &&
|
||||||
|
isSet(this.target) == true &&
|
||||||
|
this.target != player )
|
||||||
|
this.target = null;
|
||||||
|
|
||||||
awardPlayerScoreByState(state);
|
awardPlayerScoreByState(state);
|
||||||
this.state_changed_at = new Phaser.Point(this.x, this.y);
|
this.state_changed_at = new Phaser.Point(this.x, this.y);
|
||||||
this.startAwarenessTimer();
|
this.startAwarenessTimer();
|
||||||
|
|||||||
Reference in New Issue
Block a user