mirror of
https://github.com/wassname/phaser.git
synced 2026-08-11 11:23:06 +08:00
Updated invaders demo.
This commit is contained in:
@@ -183,7 +183,7 @@ function enemyHitsPlayer (player,bullet) {
|
||||
if(lives.countLiving()<1){
|
||||
|
||||
player.kill();
|
||||
enemyBullets.callAll('kill',this);
|
||||
enemyBullets.callAll('kill');
|
||||
stateText.content=" GAME OVER \n Click to restart";
|
||||
stateText.visible=true;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user