Skip to content

Commit

Permalink
fix crashes in update position and send message
Browse files Browse the repository at this point in the history
  • Loading branch information
svenpaulsen committed Nov 25, 2022
1 parent 50189cd commit a2dde2e
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions Source/Odin/Private/OdinRoom.AsyncNodes.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -96,6 +96,7 @@ UOdinRoomUpdatePosition::UpdatePosition(UObject *WorldContextObject, UOdinRoom *
const FOdinRoomUpdatePositionSuccess &onSuccess)
{
auto action = NewObject<UOdinRoomUpdatePosition>();
action->Room = room;
action->Position = position;
action->OnError = onError;
action->OnSuccess = onSuccess;
Expand Down Expand Up @@ -181,6 +182,7 @@ UOdinRoomSendMessage::SendMessage(UObject *WorldContextObject, UOdinRoom *room,
const FOdinRoomSendMessageSuccess &onSuccess)
{
auto action = NewObject<UOdinRoomSendMessage>();
action->Room = room;
action->Data = data;
action->Targets = targets;
action->OnError = onError;
Expand Down

0 comments on commit a2dde2e

Please sign in to comment.