mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 16:47:13 +01:00
Fixes runtime from getting a weakref loc (#68659)
fixes get_storage_locs to return the real_location?.resolve() instead of parent so weakrefs passed in (spotted in stabilized.dm) don't runtime thanks tsu :-]
This commit is contained in:
@@ -322,4 +322,4 @@ rough example of the "cone" made by the 3 dirs checked
|
||||
var/datum/storage/storage_datum = target.loc.atom_storage
|
||||
if(!storage_datum)
|
||||
return
|
||||
. += storage_datum.parent
|
||||
. += storage_datum.real_location?.resolve()
|
||||
|
||||
Reference in New Issue
Block a user