public void OnGameFinished(bool inSelfWin) { if (cueController && !cueController.LoadMainMenuAlreadyCalled) { // reward self with chips (this happens only when opponent explicitly disconnects from the game) if (inSelfWin) { GameManager_script.Instance().UpdateCoinCount(2.0f * GameManager_script.Instance().CurrentWager); } else { GameManager_script.Instance().UpdateCoinCount(0.0f); } // load main menu for next game StartCoroutine(cueController.OnLoadMainMenu(inSelfWin, true)); // will show animations } }