Skip to content

Commit

Permalink
fix(lua): no pusher was being called if TArray UFunction parameter is…
Browse files Browse the repository at this point in the history
… not const
  • Loading branch information
Lyrth committed Jan 13, 2025
1 parent 48c4c45 commit abeb68e
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion UE4SS/src/LuaType/LuaUObject.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ namespace RC::LuaType
// Take a reference to the Lua function (it also pops it of the stack)
dynamic_unreal_function_out_parameters.add({.property = param_next, .lua_ref = lua.registry().make_ref()});

if (!param_next->IsA<Unreal::FStructProperty>())
if (!param_next->IsA<Unreal::FStructProperty>() && !param_next->IsA<Unreal::FArrayProperty>())
{
continue;
}
Expand Down

0 comments on commit abeb68e

Please sign in to comment.