mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-13 16:52:23 +01:00
Minor bugfix
Ensures light is properly removed from source tile if Tether is somehow removed or destroyed. Re-enables missing files.
This commit is contained in:
@@ -103,11 +103,13 @@
|
||||
/obj/machinery/safety_tether/Destroy()
|
||||
QDEL_NULL(radio)
|
||||
GLOB.safety_tethers_list -= src
|
||||
light_source.set_light(0)
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/safety_tether/doMove(atom/destination)
|
||||
. = ..()
|
||||
//ensures light is properly centered around the tether. Removes lighting system's pixel approximation that breaks it.
|
||||
light_source.set_light(0)
|
||||
light_source = get_turf(src)
|
||||
return .
|
||||
|
||||
|
||||
Reference in New Issue
Block a user