Fixing a bug where lights disappeared too soon

This commit is contained in:
2014-06-14 17:09:11 -07:00
parent 267bae76aa
commit 1ccab4cdea

View File

@@ -786,7 +786,7 @@ var AISprite = function(game, x, y, key, frame) {
Phaser.Sprite.call(this, game, x, y, null); Phaser.Sprite.call(this, game, x, y, null);
game.physics.arcade.enable(this); game.physics.arcade.enable(this);
this.can_move = 'false'; this.can_move = 'true';
this.collide_with_player = 'true'; this.collide_with_player = 'true';
this.collide_with_map = 'true'; this.collide_with_map = 'true';
this.carries_light = 'false'; this.carries_light = 'false';