mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-10 05:21:49 +00:00
Merge branch 'main' of https://github.com/clasher113/VoxelEngine-Cpp
This commit is contained in:
commit
f0ec3229c1
9 changed files with 53 additions and 19 deletions
|
|
@ -71,7 +71,7 @@ local function insert(self, index, b)
|
|||
if self.size + elems > self.capacity then
|
||||
grow_buffer(self, elems)
|
||||
end
|
||||
for i=self.size, index - 1, -1 do
|
||||
for i = self.size - 1, index - 1, -1 do
|
||||
self.bytes[i + elems] = self.bytes[i]
|
||||
end
|
||||
if _type(b) == "number" then
|
||||
|
|
|
|||
|
|
@ -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