Fix executecommand
This commit is contained in:
parent
2c6da84d54
commit
308485be98
@ -456,7 +456,7 @@ namespace gsc
|
|||||||
function::add("executecommand", [](const function_args& args)
|
function::add("executecommand", [](const function_args& args)
|
||||||
{
|
{
|
||||||
const auto cmd = args[0].as<std::string>();
|
const auto cmd = args[0].as<std::string>();
|
||||||
command::execute(cmd, true);
|
command::execute(cmd, false);
|
||||||
|
|
||||||
return scripting::script_value{};
|
return scripting::script_value{};
|
||||||
});
|
});
|
||||||
|
Loading…
Reference in New Issue
Block a user