now "flying" Stargates destroy Replicators, and belonging bugfix

Game.playerBaseDestroyed() is not called everythime a PlayerBase is
destroyed.
This commit is contained in:
2016-05-13 23:52:10 +02:00
parent 7d059701cc
commit 89a1da497f
9 changed files with 16 additions and 4 deletions

View File

@ -12,7 +12,9 @@ public class Gap extends cicaprojekt.Tile {
}
public void onEntry(PlayerBase playerBase) {
super.onEntry(playerBase);
playerBase.destroy();
Game.instance.playerBaseDestroyed(playerBase);
}
public void onExit(PlayerBase playerBase) throws IllegalStateException {