remove db logs
This commit is contained in:
@@ -43,7 +43,7 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
||||
return;
|
||||
}
|
||||
|
||||
using (var context = new DatabaseContext(true))
|
||||
using (var context = new DatabaseContext())
|
||||
{
|
||||
FactionVehicle factionVehicle = context.FactionVehicles.Where(f => f.Model == WEAPON_DEAL_GANG_VEHICLE_HASH || f.Model == WEAPON_DEAL_STAATSFRAK_VEHICLE_HASH)
|
||||
.ToList()
|
||||
@@ -130,7 +130,7 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
||||
Faction fac = context.Factions.Where(f => f.Id == user.FactionId).FirstOrDefault();
|
||||
|
||||
fac.WeaponDealTime = (fac.Id == 1 | fac.Id == 3) ? 180 : 60;
|
||||
context.SaveChanges();
|
||||
context.SaveChanges();
|
||||
}
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user