mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 03:27:05 +01:00
recharge station icon fix and return to process when broken/nopower (#19977)
This commit is contained in:
@@ -64,7 +64,7 @@
|
||||
consumable_recharge_coeff = max(1, recharge_speed / 200)
|
||||
|
||||
/obj/machinery/recharge_station/process()
|
||||
if(!(NOPOWER|BROKEN))
|
||||
if(stat & (NOPOWER|BROKEN))
|
||||
return
|
||||
|
||||
if(occupant)
|
||||
@@ -117,11 +117,11 @@
|
||||
..(severity)
|
||||
|
||||
/obj/machinery/recharge_station/update_icon_state()
|
||||
if(NOPOWER|BROKEN)
|
||||
if(occupant)
|
||||
if(occupant)
|
||||
if(!(stat & (NOPOWER|BROKEN)))
|
||||
icon_state = "borgcharger1"
|
||||
else
|
||||
icon_state = "borgcharger0"
|
||||
icon_state = "borgcharger2"
|
||||
else
|
||||
icon_state = "borgcharger0"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user