added warning flash to endgame