mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
fix: network events not processing (#591)
This commit is contained in:
parent
5aa0cc9c3e
commit
eba7eed8c0
1 changed files with 2 additions and 1 deletions
|
|
@ -36,7 +36,6 @@ local function complete_app_lib(app)
|
|||
app.set_setting = core.set_setting
|
||||
app.tick = function()
|
||||
coroutine.yield()
|
||||
network.__process_events()
|
||||
end
|
||||
app.get_version = core.get_version
|
||||
app.get_setting_info = core.get_setting_info
|
||||
|
|
@ -520,6 +519,8 @@ function __process_post_runnables()
|
|||
for _, name in ipairs(dead) do
|
||||
__vc_named_coroutines[name] = nil
|
||||
end
|
||||
|
||||
network.__process_events()
|
||||
end
|
||||
|
||||
function time.post_runnable(runnable)
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue