improve wt check
This commit is contained in:
@@ -129,7 +129,7 @@ namespace ReallifeGamemode.Server.WeaponDeal
|
||||
InventoryManager.RemoveAllItemsfromVehicleInventory(fVeh);
|
||||
Faction fac = context.Factions.Where(f => f.Id == user.FactionId).FirstOrDefault();
|
||||
|
||||
if (fac.Id == 1 | fac.Id == 3)
|
||||
if (WEAPON_DEAL_STAATSFRAK_IDS.Contains(fac.Id))
|
||||
{
|
||||
fac.WeaponDealTime = 180;
|
||||
context.SaveChanges();
|
||||
|
||||
Reference in New Issue
Block a user