Made tool name in spawnmenu use the translated name

Old behavior: tool always showed up as "Stacker - Improved"

New behavior: tool uses the translated tool name corresponding to the user's selected gmod_language/localify_language setting
This commit is contained in:
Mista-Tea 2019-07-23 18:11:25 -06:00
parent 9715772e09
commit 8e2db4af58

View File

@ -159,7 +159,7 @@ local showSettings = false
--------------------------------------------------------------------------]]--
TOOL.Category = "Construction"
TOOL.Name = "#tool."..mode..".name"
TOOL.Name = L(prefix.."name")
TOOL.Information = {
"left",