From aad7bf415b37832a814dd5056b9bfac1f47a7e8f Mon Sep 17 00:00:00 2001 From: jenz Date: Sun, 22 Sep 2024 10:10:07 +0200 Subject: [PATCH] instead now using cssfixes to patch out the frozen command so that i dont handle it here --- .../scripting/mapchooser_extended_avg_mapend.sp | 14 -------------- 1 file changed, 14 deletions(-) diff --git a/mapchooser_extended/scripting/mapchooser_extended_avg_mapend.sp b/mapchooser_extended/scripting/mapchooser_extended_avg_mapend.sp index fa47ed46..550a26b5 100755 --- a/mapchooser_extended/scripting/mapchooser_extended_avg_mapend.sp +++ b/mapchooser_extended/scripting/mapchooser_extended_avg_mapend.sp @@ -991,26 +991,12 @@ public Action CS_OnTerminateRound(float &delay, CSRoundEndReason &reason) InitiateVote(MapChange_Instant); //feature so mapvote happens at actual mapend } delay = float(total_time); - CreateTimer(1.0, Timer_set_move_type); return Plugin_Changed; } g_DidRoundTerminate = false; return Plugin_Continue; } -public Action Timer_set_move_type(Handle hTimer, Handle dp) -{ - for (int i = 1; i <= MaxClients; i++) - { - if (IsValidClient(i)) - { - SetEntityMoveType(i, MOVETYPE_WALK); - //should allow people to run around freely by overwriting pPlayer->AddFlag( FL_FROZEN ); line 3337 in cs_gamerules.cpp - } - } - return Plugin_Handled; -} - public Action Timer_fall_back_map_switch(Handle hTimer, Handle dp) { ForceChangeLevel("ze_random_v9", "nobody voted at mapvote");