NeotokyoRebuild / neo

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

Team/Class/Loadout menu opening correctly #479

Closed VantoNortim closed 17 hours ago

VantoNortim commented 1 week ago

Description

Cleanup menu openings Do not open class menu on round start for spectators

Toolchain

Linked Issues

VantoNortim commented 1 week ago

It fixes spectator and buggy menu opening. However, with team switch while alive is off (default), you can click both Jinrai/NSF buttons, and instead of just closing, it moves forward to class menu, but even more, the class menu shows for your team which kind of makes sense since there's no team switching happening, but instead it should just simply not show it.

I specifically made it do that, would have assumed that we always want to show class when you change teams even if you are in it already. Next commit will remove this.

nullsystem commented 5 hours ago

@VantoNortim Whoops, look like it caused a bug where it just pops up on its own. Specifically team menu kept on popping up.

Looks like bot spawning triggers it. I suspect it might also trigger when other player spawn in also.