From 721a888463687475085e4f9d5be088548f09a8c6 Mon Sep 17 00:00:00 2001 From: neon Date: Fri, 14 May 2021 14:42:10 +0100 Subject: [PATCH] MCE: fix cd time bug --- mapchooser_extended/scripting/mapchooser_extended.sp | 2 ++ 1 file changed, 2 insertions(+) diff --git a/mapchooser_extended/scripting/mapchooser_extended.sp b/mapchooser_extended/scripting/mapchooser_extended.sp index e0b28a89..9e8f4b80 100644 --- a/mapchooser_extended/scripting/mapchooser_extended.sp +++ b/mapchooser_extended/scripting/mapchooser_extended.sp @@ -2118,6 +2118,8 @@ public int Native_ExcludeMapTime(Handle plugin, int numParams) int NewCooldown = GetTime() + GetNativeCell(2); if(NewCooldown > Cooldown) Cooldown = GetNativeCell(2); + else + return true; } Cooldown += GetTime();