Inconsistent type check in store.map

This commit is contained in:
Cooldude2606
2020-04-04 22:40:19 +01:00
parent b05d5a9da6
commit 05e5a187b0

View File

@@ -453,7 +453,7 @@ function Store.map(store,updater)
-- Get all that data in the store and check its a table
local data = data_store[store]
if not type(data) == 'table' then
if type(data) ~= 'table' then
return
end