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:
@ -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;
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user