11.0.2-20240910-2 Options not saving
Shauren opened this issue ยท 5 comments
Interresting, I take a look at it ๐
Does none of the other settings save for you?
I found the issue and have a fix ready - will release it later today.
The issue is that "false" and "nil" are the same in Lua ... so now we have to store settings as strings instead.
Sorry but nil
and false
are not the same ๐. The problem is that false and nil are not trueish so
local f = false
local n = nil
-- these two are both false
if n then end
if f then end
-- n is false but f is true
if n == false then end
if f == false then end
-- n is true but f is false
if n == nil then end
if f == nil then end
You need to check directly for false or nil in such situation.