Fixing endresultgame bug