Added game mode detection