mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 11:31:49 +00:00
fix the stupid
This commit is contained in:
parent
b06ff0f763
commit
5f69ddf6f5
3 changed files with 3 additions and 10 deletions
|
|
@ -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&)>
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue