This commit is contained in:
Michael
2020-09-11 14:56:04 +02:00
parent 9e406f86bc
commit 18cdc73e83
2 changed files with 4 additions and 11 deletions

View File

@@ -122,9 +122,11 @@ namespace ReallifeGamemode.Server.Wanted
ChatService.BroadcastFaction("!{#8181E9}HQ: " + user.Name + " wurde ins Gefängnis geliefert.", new List<int>() { 1, 3 });
}
}
}
else if (user.Wanteds <= 0 && user.JailTime > 0) {
ChatService.BroadcastFaction("!{#8181E9}HQ: Der Verdächtigte " + user.Name + " wurde soeben ins Krankenhaus eingeliefert.", new System.Collections.Generic.List<int>() { 1, 3 });
}
}
}
dbContext.SaveChanges();
}
}