Skip to content

Commit

Permalink
Lua: Fix execute_command not working
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Mar 16, 2024
1 parent 2c44167 commit 8fb6c3d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lua-api/lib/src/ScriptContext.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -450,7 +450,7 @@ int ScriptContext::setup_bindings() {
"get_player_controller", &uevr::API::get_player_controller,
"get_local_pawn", &uevr::API::get_local_pawn,
"spawn_object", &uevr::API::spawn_object,
"execute_command", &uevr::API::execute_command,
"execute_command", [](uevr::API* api, std::string s) { api->execute_command(utility::widen(s).data()); },
"execute_command_ex", &uevr::API::execute_command_ex,
"get_uobject_array", &uevr::API::get_uobject_array,
"get_console_manager", &uevr::API::get_console_manager
Expand Down

0 comments on commit 8fb6c3d

Please sign in to comment.