From 3ed5c8c59f5767775a32e33e2d2573f2bc1b355a Mon Sep 17 00:00:00 2001 From: BotoX Date: Mon, 23 Sep 2019 17:33:21 +0200 Subject: [PATCH] mapchooser_extended: time cooldown - current map played, update secrets --- mapchooser_extended/scripting/mapchooser_extended.sp | 2 +- secrets | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/mapchooser_extended/scripting/mapchooser_extended.sp b/mapchooser_extended/scripting/mapchooser_extended.sp index a594fad7..a565d1af 100644 --- a/mapchooser_extended/scripting/mapchooser_extended.sp +++ b/mapchooser_extended/scripting/mapchooser_extended.sp @@ -541,7 +541,7 @@ public void OnMapEnd() Cooldown = InternalGetMapCooldown(map); g_OldMapList.SetValue(map, Cooldown, true); - Cooldown = GetTime() + InternalGetMapCooldownTime(map); + Cooldown = GetTime() + InternalGetMapCooldownTime(map) - RoundToFloor(GetGameTime()); g_TimeMapList.SetValue(map, Cooldown, true); } diff --git a/secrets b/secrets index 9652845a..e0dfc412 160000 --- a/secrets +++ b/secrets @@ -1 +1 @@ -Subproject commit 9652845af9651ea14931b71bf6bc74875a210c5b +Subproject commit e0dfc41273433d455c61411d3c2761f317b72244