mirror of
https://github.com/Aurorastation/Aurora.3.git
synced 2026-08-25 14:00:18 +01:00
Effects Hard Delete Fix (#21619)
This fixes a hard delete sometimes caused by Effects.
This commit is contained in:
@@ -15,8 +15,7 @@ would spawn and follow the beaker, even if it is carried or thrown.
|
||||
blocks_emissive = EMISSIVE_BLOCK_GENERIC
|
||||
|
||||
/obj/effect/Destroy()
|
||||
if(reagents)
|
||||
reagents.delete()
|
||||
QDEL_NULL(reagents)
|
||||
return ..()
|
||||
|
||||
/datum/effect/effect/system
|
||||
|
||||
@@ -0,0 +1,4 @@
|
||||
author: Hellfirejag
|
||||
delete-after: True
|
||||
changes:
|
||||
- bugfix: "Fixed a lag inducing hard delete caused by Effects."
|
||||
Reference in New Issue
Block a user