mirror of
https://github.com/RaidMax/IW4M-Admin.git
synced 2025-06-10 23:31:13 -05:00
add a check to make sure we're not breaking EFClient entries when updating
make sure the alias is updated before banning the player as we want to link them together update CoD4x parser to fix their breaking change
This commit is contained in:
@ -23,7 +23,7 @@ namespace IW4MAdmin.Plugins.Stats.Commands
|
||||
$"^5--{Utilities.CurrentLocalization.LocalizationIndex["PLUGINS_STATS_COMMANDS_MOSTPLAYED_TEXT"]}--"
|
||||
};
|
||||
|
||||
using (var db = new DatabaseContext())
|
||||
using (var db = new DatabaseContext(true))
|
||||
{
|
||||
db.ChangeTracker.AutoDetectChangesEnabled = false;
|
||||
db.ChangeTracker.QueryTrackingBehavior = QueryTrackingBehavior.NoTracking;
|
||||
|
Reference in New Issue
Block a user