mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-01 14:10:53 +00:00
Misc
This applies only to Debug builds, as Release ones don't use checked arithmetic anyway
This commit is contained in:
@@ -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)
|
||||
}
|
||||
};
|
||||
|
||||
|
||||
Reference in New Issue
Block a user