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:
parent
7cbf650e63
commit
031c8b82d9
@ -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
|
||||
)
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user