mirror of
https://github.com/MihailRis/voxelcore.git
synced 2026-10-06 03:21:49 +00:00
replace vc.get_project_args with vc.get_project_arg & rename table.merge_replace to table.extend
This commit is contained in:
parent
b1974405c6
commit
d9ae1fe6d4
3 changed files with 5 additions and 3 deletions
|
|
@ -1126,7 +1126,7 @@ static int l_gui_load_document(lua::State* L) {
|
|||
auto env = scripting::create_doc_environment(parentEnv, alias);
|
||||
// namespace extension
|
||||
if (lua::istable(L, 4)) {
|
||||
if (lua::get_from(L, "table", "merge_replace")) {
|
||||
if (lua::get_from(L, "table", "extend")) {
|
||||
lua::pushenv(L, *env);
|
||||
lua::pushvalue(L, 4);
|
||||
lua::call(L, 2, 0);
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue