Merge branch 'develop' of ssh://development.life-of-german.org:451/log-gtav/reallife-gamemode into develop

This commit is contained in:
2021-04-07 22:21:04 +02:00

View File

@@ -258,8 +258,8 @@ namespace ReallifeGamemode.Server.Factions.Medic
{ {
using var dbContext = new DatabaseContext(); using var dbContext = new DatabaseContext();
{ {
dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 2).First().BankAccount.Balance += Medic.ReviveIncome / 2; dbContext.Factions.Include(f => f.BankAccount).Where(f => f.Id == 2).First().BankAccount.Balance += Medic.ReviveIncome / 4;
player.SendNotification($"Du hast den Einsatzort erreicht und ~g~{Medic.ReviveIncome / 2}$ ~s~für die Fraktion verdient."); player.SendNotification($"Du hast den Einsatzort erreicht und ~g~{Medic.ReviveIncome / 4}$ ~s~für die Fraktion verdient.");
Medic.delReviveTaskMedic(player); Medic.delReviveTaskMedic(player);
dbContext.SaveChanges(); dbContext.SaveChanges();
} }