Fixed a bug when all players in machines