afk kein wanted abtauchen
This commit is contained in:
@@ -77,7 +77,7 @@ namespace ReallifeGamemode.Server.Wanted
|
|||||||
dbContext.SaveChanges();
|
dbContext.SaveChanges();
|
||||||
waTimer[user.Id] = WantedEscapeTime;
|
waTimer[user.Id] = WantedEscapeTime;
|
||||||
}
|
}
|
||||||
else if (!isNearCop)
|
else if (!isNearCop && !player.IsAfk())
|
||||||
{
|
{
|
||||||
player.TriggerEvent("SERVER:SetWantedFlash", true);
|
player.TriggerEvent("SERVER:SetWantedFlash", true);
|
||||||
waTimer[user.Id] -= 2500;
|
waTimer[user.Id] -= 2500;
|
||||||
|
|||||||
Reference in New Issue
Block a user