SteamWar/FightSystem
Archiviert
13
1

Hotfix flying in arena issue

Signed-off-by: Lixfel <agga-games@gmx.de>
Dieser Commit ist enthalten in:
Lixfel 2020-06-04 13:18:46 +02:00
Ursprung d462d7d008
Commit eb6f45a485

Datei anzeigen

@ -229,9 +229,12 @@ public class FightTeam implements IFightTeam{
} }
private void allowFlying(boolean fly){ private void allowFlying(boolean fly){
for(FightPlayer p : players) for(FightPlayer p : players){
if(p.getPlayer() != null) if(p.getPlayer() != null){
p.getPlayer().setAllowFlight(fly); p.getPlayer().setAllowFlight(fly);
p.getPlayer().setFlying(fly);
}
}
} }
public void pasteSchematic(){ public void pasteSchematic(){