Skip to content

Commit

Permalink
simplify fix
Browse files Browse the repository at this point in the history
  • Loading branch information
feemjmeem committed Sep 26, 2015
1 parent 2567176 commit 015dcba
Showing 1 changed file with 1 addition and 5 deletions.
6 changes: 1 addition & 5 deletions code/game/machinery/recharger.dm
Original file line number Diff line number Diff line change
Expand Up @@ -97,12 +97,8 @@
icon_state = "recharger3"

/obj/machinery/recharger/power_change()
if(powered(power_channel))
stat &= ~NOPOWER
else
stat |= NOPOWER
..()
update_icon()
return

/obj/machinery/recharger/emp_act(severity)
if(stat & (NOPOWER|BROKEN) || !anchored)
Expand Down

0 comments on commit 015dcba

Please sign in to comment.