From e049e50d817676f88c0375abb9d03a310e6e87ae Mon Sep 17 00:00:00 2001 From: zaCade Date: Sat, 14 Jan 2023 16:39:42 +0100 Subject: [PATCH] [Break] Reset OnMapEnd aswell. --- Break/scripting/Break.sp | 8 ++++++++ 1 file changed, 8 insertions(+) diff --git a/Break/scripting/Break.sp b/Break/scripting/Break.sp index 59adde40..0e28a022 100644 --- a/Break/scripting/Break.sp +++ b/Break/scripting/Break.sp @@ -54,6 +54,14 @@ public void OnPluginStart() RegAdminCmd("sm_cancelbreak", Command_CancelBreak, ADMFLAG_BAN); } +//---------------------------------------------------------------------------------------------------- +// Purpose: +//---------------------------------------------------------------------------------------------------- +public void OnMapEnd() +{ + ResetVariables(); +} + //---------------------------------------------------------------------------------------------------- // Purpose: //----------------------------------------------------------------------------------------------------