aboutsummaryrefslogtreecommitdiff
path: root/advtrains/textures/advtrains_dtrack_bumper_placer.png
Commit message (Expand)AuthorAge
* Remove zip release files, move mod to root, exclude assets from Makefile (#92)rubenwardy2017-09-20
* Restructure mod directoryorwell962017-01-04
* Turning mod into a modpack and separating the trains from the core modorwell962016-12-20
an class="hl opt">]) == "function") core.async_jobs[jobid](retval) core.async_jobs[jobid] = nil end if core.register_globalstep then core.register_globalstep(function(dtime) for i, job in ipairs(core.get_finished_jobs()) do handle_job(job.jobid, job.retval) end end) else core.async_event_handler = handle_job end function core.handle_async(func, parameter, callback) -- Serialize function local serialized_func = string.dump(func) assert(serialized_func ~= nil) -- Serialize parameters local serialized_param = core.serialize(parameter) if serialized_param == nil then return false end local jobid = core.do_async_callback(serialized_func, serialized_param) core.async_jobs[jobid] = callback return true end