SteamWar/FightSystem
Archiviert
13
1

Fix small fightstate bug

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-11-10 09:59:19 +01:00
Ursprung c423d8ea22
Commit 680994aed9

Datei anzeigen

@ -153,6 +153,7 @@ public class GUI {
FightTeam fightTeam = Fight.getPlayerTeam(p); FightTeam fightTeam = Fight.getPlayerTeam(p);
if(fightTeam == null) if(fightTeam == null)
return; return;
if(FightSystem.getFightState() != FightState.POST_SCHEM_SETUP)
fightTeam.setSchematic(s); fightTeam.setSchematic(s);
p.closeInventory(); p.closeInventory();
}); });