mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2026-11-18 06:43:13 +09:00
Store bug fixes
This commit is contained in:
1 parent
382d664975
commit
f44ab9b44f
5 files changed
+32
-17
No files matched your search
+3
-1
@@ -277,7 +277,9 @@ function Store.clear(store,key)
|
||||
|
||||
-- Check if there is a key being used
|
||||
if key then
|
||||
data_store[store][key] = nil
|
||||
if type(data_store[store]) == 'table' then
|
||||
data_store[store][key] = nil
|
||||
end
|
||||
else
|
||||
data_store[store] = nil
|
||||
end
|
||||
|
||||
Reference in new issue
Block a user