mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
connects floodlights to powernet on init (#93671)
## About The Pull Request why is copilot automatically writing my webedit commits bro ## Why It's Good For The Game Not a pain in the ass for Mappers ## Changelog 🆑 code: mapped in floodlights connect to powernet immediately /🆑 --------- Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
@@ -155,6 +155,9 @@
|
||||
. = ..()
|
||||
RegisterSignal(src, COMSIG_OBJ_PAINTED, TYPE_PROC_REF(/obj/machinery/power/floodlight, on_color_change)) //update light color when color changes
|
||||
register_context()
|
||||
if(mapload)
|
||||
set_anchored(TRUE)
|
||||
connect_to_network()
|
||||
|
||||
/obj/machinery/power/floodlight/proc/on_color_change(obj/machinery/power/flood_light, mob/user, obj/item/toy/crayon/spraycan/spraycan, is_dark_color)
|
||||
SIGNAL_HANDLER
|
||||
|
||||
Reference in New Issue
Block a user