This applies only to Debug builds, as Release ones don't use checked arithmetic anyway
This commit is contained in:
JustArchi
2022-05-13 18:12:31 +02:00
parent 9c8d63318e
commit 7cd351d1cd

View File

@@ -509,7 +509,8 @@ public sealed class ArchiHandler : ClientMsgHandler {
ClientMsgProtobuf<CMsgClientGamesPlayed> request = new(EMsg.ClientGamesPlayedWithDataBlob) {
Body = {
client_os_type = (uint) Bot.OSType
// Underflow here is to be expected, this is Steam's logic
client_os_type = unchecked((uint) Bot.OSType)
}
};