1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

added nil check for regulars and donators fetched from web

This commit is contained in:
grilledham 2018-11-27 14:47:37 +00:00
parent 7cbf650e63
commit 031c8b82d9

View File

@ -42,7 +42,7 @@ end
local sync_regulars_callback =
Token.register(
function(data)
global.regulars = data.entries
global.regulars = data.entries or {}
end
)
@ -105,7 +105,7 @@ end
local sync_donators_callback =
Token.register(
function(data)
global.donators = data.entries
global.donators = data.entries or {}
end
)