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,7 +153,8 @@ public class GUI {
FightTeam fightTeam = Fight.getPlayerTeam(p);
if(fightTeam == null)
return;
fightTeam.setSchematic(s);
if(FightSystem.getFightState() != FightState.POST_SCHEM_SETUP)
fightTeam.setSchematic(s);
p.closeInventory();
});
inv.setCallback(-999, (ClickType click) -> p.closeInventory());