Fix crash on access to now local statistics variable
This commit is contained in:
parent
5ba79921cf
commit
a60bd54ad0
@ -30,7 +30,9 @@ mobf_job_queue = {}
|
||||
-------------------------------------------------------------------------------
|
||||
function mobf_job_queue.add_job(job)
|
||||
table.insert(mobf_job_queue.queue, job)
|
||||
statistics.data.queue.max = MAX(statistics.data.queue.max,#mobf_job_queue.queue)
|
||||
|
||||
mobf_get_statistics().data.queue.max =
|
||||
MAX(mobf_get_statistics().data.queue.max,#mobf_job_queue.queue)
|
||||
end
|
||||
|
||||
-------------------------------------------------------------------------------
|
||||
|
Loading…
x
Reference in New Issue
Block a user