From ebd217dcc201b7adf07a0604a2704ef834009161 Mon Sep 17 00:00:00 2001 From: NullBite Date: Sat, 24 Jun 2023 23:30:48 -0400 Subject: [PATCH] sharedconfig: actually return from load() because who needs return values for a function dedicated specifically to returning a value, amirite? --- sharedconfig.lua | 2 ++ 1 file changed, 2 insertions(+) diff --git a/sharedconfig.lua b/sharedconfig.lua index a0a8f65..b791875 100644 --- a/sharedconfig.lua +++ b/sharedconfig.lua @@ -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