diff --git a/src/store.lua b/src/store.lua index 42abc3a..88d3e18 100644 --- a/src/store.lua +++ b/src/store.lua @@ -156,7 +156,7 @@ function module.init(shared) return this; end function new.getStore(id) - return storeIdSpace[id]; + return storeIdSpace[id] or new.new({},id); end return new;