mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
Changes power_change() to respect parent calls for toggling NOPOWER (#46486)
About The Pull Request Similar to #46485 Now all relevant uses of power_change() call parent, theres a signal sent when a machine changes the NOPOWER flag, all remaining machines that were using power_change() instead of update_icon() have been fixed. Why It's Good For The Game code quality, eventually signal stuff. and signal stuff
This commit is contained in:
@@ -130,8 +130,7 @@
|
||||
stat &= ~NOPOWER
|
||||
update_icon()
|
||||
return
|
||||
..()
|
||||
update_icon()
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/modular_computer/attackby(var/obj/item/W as obj, mob/user)
|
||||
if(cpu && !(flags_1 & NODECONSTRUCT_1))
|
||||
|
||||
Reference in New Issue
Block a user