mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-29 16:18:01 +01:00
Add weakref support to qdel (#56171)
qdel() should allow usage of weakrefs to avoid harddels on long duration qdel_in usage
This commit is contained in:
@@ -87,7 +87,7 @@
|
||||
add_overlay("hatch")
|
||||
add_overlay("legs_retracted")
|
||||
addtimer(CALLBACK(src, .proc/startUp), 50)
|
||||
QDEL_IN(src, 8 MINUTES) //Self-destruct after 8 min
|
||||
QDEL_IN(WEAKREF(src), 8 MINUTES) //Self-destruct after 8 min
|
||||
SSeconomy.market_crashing = TRUE
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user