fix: framerate setting values not translated
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user