mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-27 07:08:55 +01:00
[MIRROR] Weakref cleanup (#12704)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com> Co-authored-by: Cameron Lennox <killer65311@gmail.com>
This commit is contained in:
co-authored by
Will
Cameron Lennox
parent
d8b11e32ae
commit
ed7d46efb1
@@ -55,6 +55,10 @@
|
||||
if(usr)
|
||||
user = WEAKREF(usr)
|
||||
|
||||
/datum/callback/Destroy(force)
|
||||
. = ..()
|
||||
user = null
|
||||
|
||||
/world/proc/ImmediateInvokeAsync(thingtocall, proctocall, ...)
|
||||
set waitfor = FALSE
|
||||
|
||||
|
||||
Reference in New Issue
Block a user