mirror of
https://github.com/ParadiseSS13/Paradise.git
synced 2026-08-22 19:47:22 +01:00
Integrates UIDs into View Variables
This commit is contained in:
@@ -32,7 +32,8 @@
|
||||
// src should always be a UID; if it isn't, warn instead of failing entirely
|
||||
if(href_list["src"])
|
||||
hsrc = locateUID(href_list["src"])
|
||||
if(!hsrc)
|
||||
// If there's a ]_ in the src, it's a UID, so don't try to locate it
|
||||
if(!hsrc && !findtext(href_list["src"], "]_"))
|
||||
hsrc = locate(href_list["src"])
|
||||
if(hsrc)
|
||||
var/hsrc_info = datum_info_line(hsrc) || "[hsrc]"
|
||||
|
||||
Reference in New Issue
Block a user