From 3e8cf1968f629e52d58a61e1eeb6ddee9dd642fb Mon Sep 17 00:00:00 2001 From: hydrant Date: Sun, 2 Aug 2020 15:33:28 +0200 Subject: [PATCH] medic keine doppelte nachricht --- ReallifeGamemode.Server/Commands/FactionCommands.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/ReallifeGamemode.Server/Commands/FactionCommands.cs b/ReallifeGamemode.Server/Commands/FactionCommands.cs index 18e4a5d8..d34cf1e4 100644 --- a/ReallifeGamemode.Server/Commands/FactionCommands.cs +++ b/ReallifeGamemode.Server/Commands/FactionCommands.cs @@ -234,7 +234,7 @@ namespace ReallifeGamemode.Server.Commands return; } - if(deadPlayer == null) + if (deadPlayer == null) { ChatService.ErrorMessage(player, "Es wurde kein toter Spieler gefunden"); return; @@ -283,6 +283,7 @@ namespace ReallifeGamemode.Server.Commands if (price < 10 || price > 100) { ChatService.ErrorMessage(player, "Der Preis muss zwischen 10$ und 100$ liegen"); + return; } if (!player.IsDuty())