sharedconfig: actually return from load()
because who needs return values for a function dedicated specifically to returning a value, amirite?
This commit is contained in:
parent
e07bd176ed
commit
ebd217dcc2
@ -51,6 +51,8 @@ function sharedconfig.load(key)
|
||||
end
|
||||
-- defaults haven't been initialized yet
|
||||
if defaults_table == nil then return nil end
|
||||
|
||||
return sharedstate.get(key)
|
||||
end
|
||||
|
||||
--- Save config
|
||||
|
Loading…
x
Reference in New Issue
Block a user