fix the stupid
Build / Build (push) Failing after 17s
MSVC Build / build-windows (windows-latest) (push) Has been cancelled

This commit is contained in:
MihailRis
2025-12-08 19:21:50 +03:00
committed by ShiftyX1
parent 00f269ca7e
commit 06f6550624
3 changed files with 3 additions and 10 deletions
+1 -1
View File
@@ -520,7 +520,7 @@ static int l_pull_events(lua::State* L, network::Network& network) {
}
static int l_is_available(lua::State* L) {
return engine->getNetwork() != nullptr;
return lua::pushboolean(L, engine->getNetwork() != nullptr);
}
template <int(*func)(lua::State*, network::Network&)>