fix infinite loop in 24_game