mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-13 15:01:49 +00:00
fix
This commit is contained in:
parent
e2bc168914
commit
e94b70fd3a
1 changed files with 2 additions and 1 deletions
|
|
@ -272,9 +272,10 @@ scripting::common_func lua::create_lambda(State* L) {
|
||||||
}
|
}
|
||||||
if (call(L, args.size(), 1)) {
|
if (call(L, args.size(), 1)) {
|
||||||
auto result = tovalue(L, -1);
|
auto result = tovalue(L, -1);
|
||||||
pop(L);
|
pop(L, 2);
|
||||||
return result;
|
return result;
|
||||||
}
|
}
|
||||||
|
pop(L);
|
||||||
return nullptr;
|
return nullptr;
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue