diff --git a/Modules/Helpers.cs b/Modules/Helpers.cs index 3233e58..7ccb70c 100644 --- a/Modules/Helpers.cs +++ b/Modules/Helpers.cs @@ -181,7 +181,11 @@ public static void RemoveHelmetAndHeavyArmour(CCSPlayerController player) public static void RestartGame() { - CheckRoundDone(); + if (!GetGameRules().WarmupPeriod) + { + CheckRoundDone(); + } + Server.ExecuteCommand("mp_restartgame 1"); } diff --git a/RetakesPlugin.cs b/RetakesPlugin.cs index d26e013..3995614 100644 --- a/RetakesPlugin.cs +++ b/RetakesPlugin.cs @@ -18,7 +18,7 @@ namespace RetakesPlugin; [MinimumApiVersion(131)] public class RetakesPlugin : BasePlugin { - private const string Version = "1.2.3"; + private const string Version = "1.2.4"; #region Plugin info public override string ModuleName => "Retakes Plugin";