remove db logs
This commit is contained in:
@@ -55,7 +55,7 @@ namespace ReallifeGamemode.Server.Managers
|
|||||||
return;
|
return;
|
||||||
}
|
}
|
||||||
|
|
||||||
using (var dbContext = new DatabaseContext(true))
|
using (var dbContext = new DatabaseContext())
|
||||||
{
|
{
|
||||||
User u = leader.GetUser(dbContext);
|
User u = leader.GetUser(dbContext);
|
||||||
User own = player.GetUser(dbContext);
|
User own = player.GetUser(dbContext);
|
||||||
|
|||||||
@@ -43,7 +43,7 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
|||||||
return;
|
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)
|
FactionVehicle factionVehicle = context.FactionVehicles.Where(f => f.Model == WEAPON_DEAL_GANG_VEHICLE_HASH || f.Model == WEAPON_DEAL_STAATSFRAK_VEHICLE_HASH)
|
||||||
.ToList()
|
.ToList()
|
||||||
|
|||||||
Reference in New Issue
Block a user