DoAllPlayersHaveSameGame returns correct result instead of always true
SendGameStatus() was writing SyncIdentifierComparison as a u32 but the server reads it as a u8 enum, so the server always gets 0 (SameGame). This bug was introduced in commit 66276ac.
This commit is contained in:
1 parent
6d5399246e
commit
bedb283d93
1 file changed
+1
-1
@@ -2505,7 +2505,7 @@ void NetPlayClient::SendGameStatus()
|
|||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|
||||||
packet << static_cast<u32>(result);
|
packet << result;
|
||||||
Send(packet);
|
Send(packet);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
|||||||
Reference in new issue
Block a user