Fix Fehler Wanted-Meldung bei Tod + KnastTimer

This commit is contained in:
Mac_Slash
2020-04-13 18:22:45 +02:00
parent fbce02adf1
commit bc7b4724ca
3 changed files with 19 additions and 6 deletions

View File

@@ -66,6 +66,9 @@ namespace ReallifeGamemode.Server.Wanted
}
}
if (!waTimer.ContainsKey(user.Id))
waTimer[user.Id] = 300000;
if (waTimer[user.Id] <= 0)
{
ResetWantedTimeToElapse(player);