Added isPayload utility for buildings
This commit is contained in:
@@ -444,7 +444,7 @@ public class PowerNode extends PowerBlock{
|
||||
public void draw(){
|
||||
super.draw();
|
||||
|
||||
if(Mathf.zero(Renderer.laserOpacity) || tile == emptyTile) return;
|
||||
if(Mathf.zero(Renderer.laserOpacity) || isPayload()) return;
|
||||
|
||||
Draw.z(Layer.power);
|
||||
setupColor(power.graph.getSatisfaction());
|
||||
|
||||
Reference in New Issue
Block a user