When the game ends, the cleanupmap command will not be triggered  