Skip to content

Commit

Permalink
Fix mecha recharge console overlays
Browse files Browse the repository at this point in the history
  • Loading branch information
Zaers committed Jun 20, 2015
1 parent 96dfb72 commit 44b50fe
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/game/mecha/mech_bay.dm
Original file line number Diff line number Diff line change
Expand Up @@ -148,7 +148,7 @@

/obj/machinery/computer/mech_bay_power_console/update_icon()
..()
if(!recharge_port || !recharge_port.recharging_mech || !recharge_port.recharging_mech.cell || !(recharge_port.recharging_mech.cell.charge < recharge_port.recharging_mech.cell.maxcharge))
if(!recharge_port || !recharge_port.recharging_mech || !recharge_port.recharging_mech.cell || !(recharge_port.recharging_mech.cell.charge < recharge_port.recharging_mech.cell.maxcharge || stat & NOPOWER|BROKEN))
return
overlays += "recharge_comp_on"

Expand Down

0 comments on commit 44b50fe

Please sign in to comment.