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

This commit is contained in:
2021-04-10 01:33:34 +02:00
10 changed files with 115 additions and 108 deletions

View File

@@ -255,7 +255,7 @@ namespace ReallifeGamemode.Server.Managers
target.SetData("duty", false);
target.TriggerEvent("toggleDutyMode", false);
Medic.UpdateDutyMedics(-1);
Medic.UpdateDutyMedics();
UpdateCharacterCloth.LoadCharacterDefaults(target);
target.GetUser(dbContext).FactionRankId = null;
target.GetUser(dbContext).FactionId = null;
@@ -834,6 +834,7 @@ namespace ReallifeGamemode.Server.Managers
{
Medic.AddTaskToList(healTask);
player.SetData("healauftrag", true);
player.SendNotification("~w~Du hast einen Sanitäter um Hilfe gerufen");
ChatService.BroadcastFaction("~y~[MEDIC] ~w~" + player.Name + " hat soeben einen Serviceauftrag beantragt.", new List<int>() { 2 });
}
}