Skip to content

Commit

Permalink
Potential #21 fix
Browse files Browse the repository at this point in the history
  • Loading branch information
getnamo committed Oct 29, 2021
1 parent b5c6e3c commit 5cbcaca
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 deletions.
2 changes: 1 addition & 1 deletion GlobalEventSystem.uplugin
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
{
"FileVersion": 3,
"Version": 1,
"VersionName": "0.8.0",
"VersionName": "0.8.1",
"FriendlyName": "GlobalEventSystem",
"Description": "Loosely coupled internal event system.",
"Category": "Utility",
Expand Down
2 changes: 1 addition & 1 deletion Source/GlobalEventSystem/Private/GESHandler.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -705,7 +705,7 @@ void FGESHandler::EmitEvent(const FGESEmitContext& EmitData, UObject* ParamData)

EmitToListenersWithData(PropData, [&PropData, ParamWrapper](const FGESEventListener& Listener)
{
if (FunctionHasValidParams(Listener.Function, FNumericProperty::StaticClass(), PropData, Listener))
if (FunctionHasValidParams(Listener.Function, FObjectProperty::StaticClass(), PropData, Listener))
{
Listener.ReceiverWCO->ProcessEvent(Listener.Function, (void*)&ParamWrapper);// PropData.PropertyPtr);
}
Expand Down

0 comments on commit 5cbcaca

Please sign in to comment.