NeotokyoRebuild / neo

NEOTOKYO Rebuild - Source SDK 2013 mod of NEOTOKYO
Other
11 stars 9 forks source link

[BUG] Spectators shown the class menu on round start #385

Open nullsystem opened 2 weeks ago

nullsystem commented 2 weeks ago

Build Info

20240620_f670f82 (master-f670f828687a22886a4d6b89fc09fcaea9b23e70)

Description

Players spectator the game (not in Jinrai or NSF) are shown the class menu on the start of each round. This is despite spectators aren't playing and don't have class or weapon selection.

To Reproduce

  1. Open game -> Create Server -> Start
  2. Pick spectator
  3. Go to console and create bots to start a match:
    sv_cheats 1
    mp_neo_warmup_round_time 0
    bot_add;bot_add;bot_add;bot_add;
  4. Wait till round starts

Expected behavior

There's no menu automatically shown for the spectator on round start

Actual behavior

There's a class menu automatically shown for the spectator on round start

Operating System

Version/Distro

Arch Linux; Windows 10

Machine's CPU

No response

Machine's GPU

No response

GPU's driver

No response

Build's compiler

No response

Additional context and Screenshots

The class menu automatically pops up even as a separator: 2024-06-20T211555_screen