From c88e999122774e31da25a0172cc589c177ad232b Mon Sep 17 00:00:00 2001 From: z411 Date: Mon, 7 Sep 2020 19:25:53 -0300 Subject: [PATCH] Physics now still run if game hasn't started yet --- qcsrc/ecs/systems/sv_physics.qc | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/qcsrc/ecs/systems/sv_physics.qc b/qcsrc/ecs/systems/sv_physics.qc index 175c57c48..1d5553d1d 100644 --- a/qcsrc/ecs/systems/sv_physics.qc +++ b/qcsrc/ecs/systems/sv_physics.qc @@ -40,7 +40,9 @@ void sys_phys_ai(entity this) void sys_phys_pregame_hold(entity this) { if (!IS_PLAYER(this)) { return; } - const bool allowed_to_move = (time >= game_starttime && !game_stopped); + // z411 + //const bool allowed_to_move = (time >= game_starttime && !game_stopped); + const bool allowed_to_move = (!game_stopped); if (!allowed_to_move) { this.velocity = '0 0 0'; set_movetype(this, MOVETYPE_NONE); -- 2.39.2