Fixed some stuff on non-dedicated server to make it work with spectate mode also.