private IEnumerator WaitForLevelToLoad()
    {
        /* -- Deprecation fix --
         * while (Application.isLoadingLevel)
         * yield return 1;
         */
        AsyncOperation loadLevel = Application.LoadLevelAsync(currentGameState.selectedScene);

        yield return(loadLevel);

        currentGameState.Enable();
        currentGameState.SetGuiState();
    }