Fix executecommand

This commit is contained in:
fed 2022-12-26 03:38:47 +01:00
parent 2c6da84d54
commit 308485be98

View File

@ -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{};
}); });