mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-16 18:45:22 +01:00
[MIRROR] Fixes weakref resolving in View Variables not working [MDB IGNORE] (#15820)
* Fixes weakref resolving in View Variables not working (#69375) m * Fixes weakref resolving in View Variables not working Co-authored-by: distributivgesetz <distributivgesetz93@gmail.com>
This commit is contained in:
@@ -63,7 +63,7 @@
|
||||
item = "[name_part] = <a href='?_src_=vars;[HrefToken()];Vars=[REF(value)]'>[DV.type] [REF(value)]</a>"
|
||||
if(istype(value,/datum/weakref))
|
||||
var/datum/weakref/weakref = value
|
||||
item += " <a href='?_src_=vars;[HrefToken()];Vars=[REF(weakref.reference)]'>(Resolve)</a>"
|
||||
item += " <a href='?_src_=vars;[HrefToken()];Vars=[weakref.reference]'>(Resolve)</a>"
|
||||
|
||||
else if (islist(value))
|
||||
var/list/L = value
|
||||
|
||||
Reference in New Issue
Block a user