mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: framerate setting values not translated
This commit is contained in:
parent
63d0c8b01a
commit
a2f79e979e
2 changed files with 3 additions and 2 deletions
|
|
@ -1,9 +1,9 @@
|
|||
local tostring_overrides = {}
|
||||
tostring_overrides["display.framerate"] = function(x)
|
||||
if x == -1 then
|
||||
return "V-Sync"
|
||||
return gui.str("V-Sync")
|
||||
elseif x == 0 then
|
||||
return "Unlimited"
|
||||
return gui.str("Unlimited")
|
||||
else
|
||||
return tostring(x)
|
||||
end
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue