fix a bug

the action number was mixed up when 2 games ran at the same time.