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

Make GLobal forward compatible with #688

This commit is contained in:
Lynn 2019-01-26 10:43:39 +01:00
parent a16744787e
commit 5fd0d82834

View File

@ -16,7 +16,7 @@ local memory = {
active_toasts = {},
}
Global.register(memory, function (tbl) memory = tbl end)
Global.register(memory, function (tbl) memory = tbl end, 'toast')
---Creates a unique ID for a toast message
local function autoincrement()