This commit is contained in:
Anuken
2020-11-11 09:28:17 -05:00
parent 887ce28fc2
commit 12843af977
7 changed files with 5 additions and 15 deletions

View File

@@ -51,7 +51,7 @@ public class Drawf{
}
private static boolean allowLight(Team team){
return team == Team.derelict || team == Vars.player.team() || state.rules.enemyLights;
return renderer != null && (team == Team.derelict || team == Vars.player.team() || state.rules.enemyLights);
}
public static void selected(Building tile, Color color){