Fix LuaAtc Interrupt saving

The timer was loaded, but not saved, leading to it being counted from 0 upwards every restart, which of course broke interrupts.
master
orwell96 2017-02-05 12:42:39 +01:00
parent d4975a7003
commit af14d57557
1 changed files with 1 additions and 1 deletions

View File

@ -13,7 +13,7 @@ function iq.load(data)
timer = d.timer or 0
end
function iq.save()
return {queue = queue}
return {queue = queue, timer=timer}
end
function iq.add(t, pos, evtdata)