fixed a bug where the gamehasend message appears twice