Skip to content

Commit

Permalink
Lua: Fix redundant param resize
Browse files Browse the repository at this point in the history
  • Loading branch information
praydog committed Jun 28, 2024
1 parent 0aa8575 commit fa90052
Showing 1 changed file with 0 additions and 2 deletions.
2 changes: 0 additions & 2 deletions lua-api/lib/src/ScriptUtility.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -455,8 +455,6 @@ sol::object call_function(sol::this_state s, uevr::API::UObject* self, uevr::API
params.resize(ps);
}

params.resize(fn->get_properties_size());

uevr::API::FProperty* return_prop{nullptr};
bool ret_is_bool{false};
bool ret_is_array{false};
Expand Down

0 comments on commit fa90052

Please sign in to comment.