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 6, 2024
1 parent eaea276 commit 5501882
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 5501882

Please sign in to comment.