mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-04 18:41:51 +00:00
scripting prevent-default fix
This commit is contained in:
parent
6d60cc8276
commit
beddfb5359
1 changed files with 1 additions and 3 deletions
|
|
@ -55,9 +55,7 @@ int call_func(lua_State* L, int argc, const std::string& name) {
|
|||
std::cerr << lua_tostring(L,-1) << std::endl;
|
||||
return 0;
|
||||
}
|
||||
int res_count = lua_tointeger(L, -1);
|
||||
lua_pop(L, -1);
|
||||
return res_count;
|
||||
return 1;
|
||||
}
|
||||
|
||||
void scripting::initialize(EnginePaths* paths) {
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue