mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-22 04:30:44 +01:00
[MIRROR] Adds direct support for weakrefs to vv [MDB IGNORE] (#11227)
* Adds direct support for weakrefs to vv (#64521) * Adds direct support for weakrefs to vv * Update code/modules/admin/view_variables/get_variables.dm Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * Fine, have a readable name. Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com> * Adds direct support for weakrefs to vv Co-authored-by: AnturK <AnturK@users.noreply.github.com> Co-authored-by: Mothblocks <35135081+Mothblocks@ users.noreply.github.com>
This commit is contained in:
co-authored by
Mothblocks
AnturK
parent
5ceceeb173
commit
579f6e384b
@@ -61,6 +61,9 @@
|
||||
item = "[name_part] = <a href='?_src_=vars;[HrefToken()];Vars=[REF(value)]'>[DV] [DV.type] [REF(value)]</a>"
|
||||
else
|
||||
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>"
|
||||
|
||||
else if (islist(value))
|
||||
var/list/L = value
|
||||
|
||||
Reference in New Issue
Block a user