Merge pull request #36721 from GrayRachnid/fix-crafting-tools

Fix crafting tools tooltips
This commit is contained in:
Jordan Brown
2018-04-01 23:01:57 -04:00
committed by CitadelStationBot
parent a9c91b4d00
commit 4c97bc84e7

View File

@@ -419,7 +419,11 @@
data["catalyst_text"] = catalyst_text
for(var/a in R.tools)
tool_text += " [a],"
if(ispath(a, /obj/item))
var/obj/item/b = a
tool_text += " [initial(b.name)],"
else
tool_text += " [a],"
tool_text = replacetext(tool_text,",","",-1)
data["tool_text"] = tool_text