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

@@ -468,7 +468,7 @@ namespace ReallifeGamemode.Server.Commands
if (target.GetData<bool>("duty") == true)
{
target.SetData<bool>("duty", false);
Medic.UpdateDutyMedics(-1);
Medic.UpdateDutyMedics();
}
string adminPlayername = NAPI.Player.GetPlayerName(player);
@@ -784,7 +784,7 @@ namespace ReallifeGamemode.Server.Commands
if (target.GetData<bool>("duty") == true)
{
target.SetData<bool>("duty", false);
Medic.UpdateDutyMedics(-1);
Medic.UpdateDutyMedics();
}
string adminPlayername = NAPI.Player.GetPlayerName(player);
@@ -879,7 +879,7 @@ namespace ReallifeGamemode.Server.Commands
if (target.GetData<bool>("duty") == true)
{
target.SetData<bool>("duty", false);
Medic.UpdateDutyMedics(-1);
Medic.UpdateDutyMedics();
}
reason = Regex.Replace(reason, "(~[a-zA-Z]~)|(!{(.*)})", "");