1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-10 15:20:48 -05:00

force bots to all use the same profile

use C# 7.1 for projects
This commit is contained in:
RaidMax
2019-05-04 09:17:18 -05:00
parent 7f430cf73e
commit 145a444896
16 changed files with 17 additions and 15 deletions

View File

@ -730,7 +730,7 @@ namespace SharedLibraryCore.Database.Models
public override int GetHashCode()
{
return (int)NetworkId;
return IsBot ? ClientNumber : (int)NetworkId;
}
}
}