Fixed bug with gameOver not being called properly

This commit is contained in:
Anuken
2018-01-29 23:21:55 -05:00
parent aaa9f85206
commit 4b830a8cf2
6 changed files with 72 additions and 5 deletions

View File

@@ -42,7 +42,6 @@ public class NetEvents {
public static void handleEnemyDeath(Enemy enemy){
EnemyDeathPacket packet = new EnemyDeathPacket();
packet.id = enemy.id;
state.gameOver = true;
Net.send(packet, SendMode.tcp);
}