From e4f2b505ff430fbe350f4868b3548082f54525b2 Mon Sep 17 00:00:00 2001 From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Sat, 10 Jun 2023 02:31:12 +0200 Subject: [PATCH] battle royale: removed emulated round handler entity --- qcsrc/common/gamemodes/gamemode/br/sv_br.qc | 10 ---------- 1 file changed, 10 deletions(-) diff --git a/qcsrc/common/gamemodes/gamemode/br/sv_br.qc b/qcsrc/common/gamemodes/gamemode/br/sv_br.qc index e0729b91b..09abdd58f 100644 --- a/qcsrc/common/gamemodes/gamemode/br/sv_br.qc +++ b/qcsrc/common/gamemodes/gamemode/br/sv_br.qc @@ -1436,22 +1436,12 @@ void br_Start(){ }); br_event_supply_time = br_event_vehicle_time = time; - round_handler.cnt = 0; // emulate round handler round start } -void br_dummy_Think(entity this){} - void br_Initialize() { br_started = false; squads_colored = autocvar_g_br_squad_colors; - // emulate the round handler, useful because this will cause a lot of code to correctly treat the stage before the match starts - round_handler = new_pure(round_handler); - round_handler.count = 0; - round_handler.cnt = 1; - round_handler.wait = false; - setthink(round_handler, br_dummy_Think); - EliminatedPlayers_Init(br_isEliminated); } -- 2.39.2