mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-30 00:35:45 +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
@@ -41,6 +41,7 @@
|
||||
var/obj/machinery/shieldgen/SG = our_owner.resolve()
|
||||
if(SG)
|
||||
SG.deployed_shields -= src
|
||||
our_owner = null
|
||||
. = ..()
|
||||
|
||||
/obj/machinery/shield/attackby(obj/item/W as obj, mob/user as mob)
|
||||
|
||||
Reference in New Issue
Block a user