From 0bb248fb3a2704fb5920798337be73f91e2db03a Mon Sep 17 00:00:00 2001 From: BotoX Date: Sun, 19 Mar 2017 00:36:56 +0100 Subject: [PATCH] Extend: Bugfix --- Extend/scripting/Extend.sp | 11 +++++++++++ 1 file changed, 11 insertions(+) diff --git a/Extend/scripting/Extend.sp b/Extend/scripting/Extend.sp index 7dc7e8a8..5b08f7bc 100644 --- a/Extend/scripting/Extend.sp +++ b/Extend/scripting/Extend.sp @@ -353,4 +353,15 @@ public int Handler_VoteCallback(Menu menu, MenuAction action, int param1, int pa void CancelGameOver() { StoreToAddress(g_pGameOver, 0, NumberType_Int8); + + for (int client = 1; client <= MaxClients; client++) + { + if (IsClientInGame(client)) + { + if (IsClientObserver(client)) + SetEntityMoveType(client, MOVETYPE_NOCLIP); + else + SetEntityMoveType(client, MOVETYPE_WALK); + } + } }