misc.lua 150 B

1234567
  1. function core.setting_get_pos(name)
  2. local value = core.settings:get(name)
  3. if not value then
  4. return nil
  5. end
  6. return core.string_to_pos(value)
  7. end