mirror of
https://github.com/PHIDIAS0303/ExpCluster.git
synced 2025-12-30 20:41:41 +09:00
Inconsistent type check in store.map
This commit is contained in:
@@ -453,7 +453,7 @@ function Store.map(store,updater)
|
|||||||
|
|
||||||
-- Get all that data in the store and check its a table
|
-- Get all that data in the store and check its a table
|
||||||
local data = data_store[store]
|
local data = data_store[store]
|
||||||
if not type(data) == 'table' then
|
if type(data) ~= 'table' then
|
||||||
return
|
return
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user