Skip to content

Commit

Permalink
Fixed an issue where player counts were off for people running VRChat…
Browse files Browse the repository at this point in the history
… with --enable-sdk-log-levels
  • Loading branch information
nnaaa-vr committed May 9, 2021
1 parent d01f16a commit 12e069f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion XSOverlay VRChat Parser/Program.cs
Original file line number Diff line number Diff line change
Expand Up @@ -335,7 +335,7 @@ static void RewindLogForMetadata(string filePath, long fromByte)

string thisLine = asCharSpan.Slice(currentIdx, lastIdx - currentIdx).ToString();

if (thisLine.Contains("[Behaviour] OnPlayerJoined"))
if (thisLine.Contains("[Behaviour] OnPlayerJoined "))
++numPlayers;
else if (thisLine.Contains("[Behaviour] OnPlayerLeft "))
--numPlayers;
Expand Down

0 comments on commit 12e069f

Please sign in to comment.