mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-29 20:16:38 +09:00
Store bug fixes
This commit is contained in:
@@ -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