From: Juhu <5894800-Juhu_@users.noreply.gitlab.com> Date: Sat, 10 Jun 2023 00:31:12 +0000 (+0200) Subject: battle royale: removed emulated round handler entity X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=e4f2b505ff430fbe350f4868b3548082f54525b2;p=xonotic%2Fxonotic-data.pk3dir.git battle royale: removed emulated round handler entity --- 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); }