mirror of
https://github.com/JustArchiNET/ArchiSteamFarm.git
synced 2026-01-16 08:25:28 +00:00
Misc 2FA enhancements
This commit is contained in:
@@ -259,12 +259,10 @@ public static class Utilities {
|
||||
|
||||
internal static ulong MathAdd(ulong first, int second) {
|
||||
if (second >= 0) {
|
||||
first += (uint) second;
|
||||
} else {
|
||||
first -= (uint) -second;
|
||||
return first + (uint) second;
|
||||
}
|
||||
|
||||
return first;
|
||||
return first - (uint) -second;
|
||||
}
|
||||
|
||||
internal static bool RelativeDirectoryStartsWith(string directory, params string[] prefixes) {
|
||||
|
||||
Reference in New Issue
Block a user