Skip to content

Commit

Permalink
Add files via upload
Browse files Browse the repository at this point in the history
  • Loading branch information
Squaresweets authored Jun 17, 2021
1 parent 763d2c3 commit 80bbff6
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions BubbleTransport/BubbleTransport.cs
Original file line number Diff line number Diff line change
Expand Up @@ -386,7 +386,7 @@ public override void ClientLateUpdate()
}

//This executes any messages that were not executed during a scene change
for (int i = 0; i > clientMessageBuffer.Count; i++)
for (int i = 0; i < clientMessageBuffer.Count; i++)
{
OnClientDataReceived?.Invoke(clientMessageBuffer[0], 0);
clientMessageBuffer.RemoveAt(0);
Expand All @@ -397,7 +397,7 @@ public override void ServerLateUpdate()
if (instance != this) return;

//This executes any messages that were not executed during a scene change
for (int i = 0; i > serverMessageBuffer.Count; i++)
for (int i = 0; i < serverMessageBuffer.Count; i++)
{
OnServerDataReceived?.Invoke(serverMessageBuffer[0].connId, serverMessageBuffer[0].message, 0);
serverMessageBuffer.RemoveAt(0);
Expand Down

1 comment on commit 80bbff6

@Squaresweets
Copy link
Owner Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Oops!

Please sign in to comment.