🐛 another locale fix

This commit is contained in:
oof2win2
2021-08-14 17:01:45 +00:00
parent 26f3dfc038
commit 5b5c6f4061
2 changed files with 2 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({'tree-decon.toggle-msg'} .. " " .. (status and {'tree-decon.disabled'} or {'tree-decon.enabled'}))
player.print(status and {'tree-decon.toggle-msg', {'tree-decon.disabled'}} or {'tree-decon.toggle-msg', {'tree-decon.enabled'}})
end)