Skip to content
Snippets Groups Projects
Commit 041c91c4 authored by Otowa Kotori's avatar Otowa Kotori
Browse files

WASD

parent 62f2bc46
No related branches found
No related tags found
1 merge request!628i18n Misc updates
......@@ -451,7 +451,7 @@ function _M:generateListUi()
local zone = Textzone.new{width=self.c_desc.w, height=self.c_desc.h, text=_t"Enable the WASD movement keys. Can be used to move diagonaly by pressing two directions at once.#WHITE#":toTString()}
list[#list+1] = { zone=zone, name=_t"#GOLD##{bold}#Enable WASD movement keys#WHITE##{normal}#":toTString(), status=function(item)
return tostring(config.settings.tome.use_wasd and "enabled" or "disabled")
return tostring(config.settings.tome.use_wasd and _t"enabled" or _t"disabled")
end, fct=function(item)
config.settings.tome.use_wasd = not config.settings.tome.use_wasd
game:saveSettings("tome.use_wasd", ("tome.use_wasd = %s\n"):format(tostring(config.settings.tome.use_wasd)))
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment