debug it
This commit is contained in:
parent
42248d67eb
commit
00f269ca7e
1
.github/workflows/appimage.yml
vendored
1
.github/workflows/appimage.yml
vendored
@ -52,7 +52,6 @@ jobs:
|
||||
run: |
|
||||
chmod +x build/VoxelEngine
|
||||
chmod +x AppDir/usr/bin/vctest
|
||||
valgrind --track-origins=yes build/VoxelEngine --headless --test dev/tests/chunks.lua
|
||||
AppDir/usr/bin/vctest -e build/VoxelEngine -d dev/tests -u build
|
||||
- name: Build AppImage
|
||||
uses: AppImageCrafters/build-appimage-action@fe2205a4d6056be47051f7b1b3811106e9814910
|
||||
|
||||
@ -496,6 +496,7 @@ audio.__reset_fetch_buffer = nil
|
||||
core.get_core_token = audio.input.__get_core_token
|
||||
|
||||
function __process_post_runnables()
|
||||
print("1")
|
||||
if #__post_runnables then
|
||||
for _, func in ipairs(__post_runnables) do
|
||||
local status, result = xpcall(func, __vc__error)
|
||||
@ -506,6 +507,7 @@ function __process_post_runnables()
|
||||
__post_runnables = {}
|
||||
end
|
||||
|
||||
print("2")
|
||||
local dead = {}
|
||||
for name, co in pairs(__vc_named_coroutines) do
|
||||
local success, err = coroutine.resume(co)
|
||||
@ -520,10 +522,15 @@ function __process_post_runnables()
|
||||
__vc_named_coroutines[name] = nil
|
||||
end
|
||||
|
||||
print("3")
|
||||
fn_audio_reset_fetch_buffer()
|
||||
print("4")
|
||||
debug.pull_events()
|
||||
print("5")
|
||||
network.__process_events()
|
||||
print("6")
|
||||
block.__process_register_events()
|
||||
print("7")
|
||||
block.__perform_ticks(time.delta())
|
||||
end
|
||||
|
||||
|
||||
@ -8,7 +8,6 @@
|
||||
|
||||
#include <memory>
|
||||
#include <string>
|
||||
#include <optional>
|
||||
|
||||
class Assets;
|
||||
class ContentControl;
|
||||
|
||||
@ -519,7 +519,7 @@ static int l_pull_events(lua::State* L, network::Network& network) {
|
||||
return 1;
|
||||
}
|
||||
|
||||
int l_is_available(lua::State* L) {
|
||||
static int l_is_available(lua::State* L) {
|
||||
return engine->getNetwork() != nullptr;
|
||||
}
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user