🔧 Text to locale

This commit is contained in:
oof2win2
2021-08-14 16:41:24 +00:00
parent 2315b47e4a
commit 26f3dfc038
2 changed files with 5 additions and 2 deletions

View File

@@ -27,7 +27,7 @@ end)
local status = HasEnabledDecon:get(player)
HasEnabledDecon:set(player, not status)
Gui.toolbar_button_style(element, not status)
player.print("Fast decon has been " .. (status and "disabled" or "enabled"))
player.print({'tree-decon.toggle-msg'} .. " " .. (status and {'tree-decon.disabled'} or {'tree-decon.enabled'}))
end)