Issue 1: Class Selector UI Displaying at Incorrect Times
- Description: The Class Selector UI is appearing at unintended moments. Specifically:
- When a player is eliminated.
- During the black loading screen when a new round is starting.
- When a player respawns.
- Expected Behavior: The Class Selector UI should only display when intended, typically when players are choosing their class or weapons, not during eliminations, respawns, or the loading screen.
Issue 2: Weapons Not Resetting After Elimination or Round Start
- Description: Players can keep weapons from the previous round even after being eliminated or when a new round starts. Specifically:
- If a player selects a gun in one round, then gets eliminated and selects a different gun in the next round, the previously selected weapon doesn’t get removed. The player ends up with multiple weapons instead of just the newly selected one.
- Expected Behavior: When a new weapon is selected in a new round, any previously selected weapons should be removed from the player’s inventory to avoid stacking.