/// <summary> /// Disables starting of game if not all players have song. /// </summary> static void Prefix(HostLobbySetupViewController __instance, string playersMissingLevelText, ref Button ____startGameButton) { if (____startGameButton.interactable) { __instance.SetStartGameEnabled(playersMissingLevelText == null, HostLobbySetupViewController.CannotStartGameReason.None); } }
/// <summary> /// Disables starting of game if not all players have song. /// </summary> static void Prefix(HostLobbySetupViewController __instance, string playersMissingLevelText) { __instance.SetStartGameEnabled(playersMissingLevelText == null, HostLobbySetupViewController.CannotStartGameReason.None); }