Merge pull request #4735 from Citadel-Station-13/upstream-merge-34194

[MIRROR] Makes the tag warning a stack_trace
This commit is contained in:
deathride58
2018-01-10 19:57:16 +00:00
committed by GitHub
+1 -1
View File
@@ -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)]\]"