Merge pull request #34194 from ninjanomnom/tag-stack

Makes the tag warning a stack_trace
This commit is contained in:
Leo
2018-01-09 20:56:22 -02:00
committed by CitadelStationBot
parent dfe39e7a1d
commit 805442ee51
+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)]\]"