fix bl.schedule errors
This commit is contained in:
@@ -538,7 +538,7 @@ function _bllua_schedule_callback(id)
|
||||
id = tonumber(id)
|
||||
local sch = bl._scheduleTable[id]
|
||||
if not sch then error('_ts_schedule_callback: no schedule with id '..id) end
|
||||
bl._scheduleTable[sched_id] = nil
|
||||
bl._scheduleTable[id] = nil
|
||||
sch.callback(unpack(sch.args))
|
||||
end
|
||||
|
||||
|
||||
Reference in New Issue
Block a user