fixed bug when disabling spectator mode