1
0
mirror of https://github.com/luanti-org/luanti.git synced 2025-10-13 00:25:19 +02:00
Files
luanti/builtin/client/misc.lua
2022-08-02 11:58:08 +02:00

8 lines
150 B
Lua

function core.setting_get_pos(name)
local value = core.settings:get(name)
if not value then
return nil
end
return core.string_to_pos(value)
end