1
0
mirror of https://github.com/RaidMax/IW4M-Admin.git synced 2025-06-11 15:52:25 -05:00

Using Code from EFPerformanceBucket for references

This commit is contained in:
Ayymoss
2024-09-07 18:41:18 +01:00
parent 79bd6ca8e1
commit 98e2be8623
17 changed files with 154 additions and 103 deletions

View File

@ -912,9 +912,9 @@ namespace IW4MAdmin
context.Entry(gameServer).Property(property => property.HostName).IsModified = true;
}
if (gameServer.PerformanceBucket != PerformanceBucket)
if (gameServer.PerformanceBucket.Code != PerformanceCode)
{
gameServer.PerformanceBucket = PerformanceBucket;
gameServer.PerformanceBucket.Code = PerformanceCode;
context.Entry(gameServer).Property(property => property.PerformanceBucket).IsModified = true;
}