mirror of
https://github.com/quotefox/Hyper-Station-13.git
synced 2026-07-10 15:22:24 +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 .
|
||||
|
||||
|
||||
@@ -3199,6 +3199,7 @@
|
||||
#include "hyperstation\code\modules\food_and_drinks\recipes\drinks_recipes.dm"
|
||||
#include "hyperstation\code\modules\hydroponics\grown\kalyna.dm"
|
||||
#include "hyperstation\code\modules\integrated_electronics\input.dm"
|
||||
#include "hyperstation\code\modules\jobs\jobs.dm"
|
||||
#include "hyperstation\code\modules\jobs\job_types\_job.dm"
|
||||
#include "hyperstation\code\modules\jobs\job_types\civilian.dm"
|
||||
#include "hyperstation\code\modules\jobs\job_types\job_alt_titles.dm"
|
||||
@@ -3209,6 +3210,7 @@
|
||||
#include "hyperstation\code\modules\mining\equipment\survival_pod.dm"
|
||||
#include "hyperstation\code\modules\mob\mob_helpers.dm"
|
||||
#include "hyperstation\code\modules\mob\dead\new_player\cosmetic_parts.dm"
|
||||
#include "hyperstation\code\modules\mob\dead\new_player\roleplay.dm"
|
||||
#include "hyperstation\code\modules\mob\dead\new_player\sprite_accessories.dm"
|
||||
#include "hyperstation\code\modules\mob\living\status_indicators.dm"
|
||||
#include "hyperstation\code\modules\mob\living\carbon\carbon.dm"
|
||||
|
||||
Reference in New Issue
Block a user