mirror of
https://github.com/yogstation13/Yogstation.git
synced 2025-02-26 09:04:50 +00:00
added a thing (#11707)
This commit is contained in:
@@ -78,6 +78,9 @@
|
||||
|
||||
var/chat_color_darkened // A luminescence-shifted value of the last color calculated for chatmessage overlays
|
||||
|
||||
///Mobs that are currently do_after'ing this atom, to be cleared from on Destroy()
|
||||
var/list/targeted_by
|
||||
|
||||
var/atom/orbit_target //Reference to atom being orbited
|
||||
/**
|
||||
* Called when an atom is created in byond (built in engine proc)
|
||||
@@ -215,6 +218,12 @@
|
||||
LAZYCLEARLIST(overlays)
|
||||
LAZYCLEARLIST(priority_overlays)
|
||||
|
||||
for(var/i in targeted_by)
|
||||
var/mob/M = i
|
||||
LAZYREMOVE(M.do_afters, src)
|
||||
|
||||
targeted_by = null
|
||||
|
||||
QDEL_NULL(light)
|
||||
|
||||
return ..()
|
||||
|
||||
Reference in New Issue
Block a user