Merge pull request #4735 from Citadel-Station-13/upstream-merge-34194
[MIRROR] Makes the tag warning a stack_trace
This commit is contained in:
@@ -1500,7 +1500,7 @@ GLOBAL_DATUM_INIT(dview_mob, /mob/dview, new)
|
||||
var/datum/thing = input
|
||||
if(thing.use_tag)
|
||||
if(!thing.tag)
|
||||
WARNING("A ref was requested of an object with use_tag set but no tag: [thing]")
|
||||
stack_trace("A ref was requested of an object with use_tag set but no tag: [thing]")
|
||||
thing.use_tag = FALSE
|
||||
else
|
||||
return "\[[url_encode(thing.tag)]\]"
|
||||
|
||||
Reference in New Issue
Block a user