mirror of
https://github.com/misternebula/quantum-space-buddies.git
synced 2025-01-06 01:00:16 +00:00
buh (forgot to replace a thing with thing)
This commit is contained in:
parent
1d32211be0
commit
e1bc344c10
@ -337,8 +337,8 @@ internal class MenuManager : MonoBehaviour, IAddComponentOnStart
|
|||||||
DisconnectButton.transform.GetChild(0).GetChild(1).GetComponent<Text>().text = text;
|
DisconnectButton.transform.GetChild(0).GetChild(1).GetComponent<Text>().text = text;
|
||||||
|
|
||||||
var popupText = QSBCore.IsHost
|
var popupText = QSBCore.IsHost
|
||||||
? "Are you sure you want to stop hosting?\r\nThis will disconnect all clients and send everyone back to the main menu."
|
? QSBLocalization.Current.StopHostingAreYouSure
|
||||||
: "Are you sure you want to disconnect?\r\nThis will send you back to the main menu.";
|
: QSBLocalization.Current.DisconnectAreYouSure;
|
||||||
DisconnectPopup._labelText.text = popupText;
|
DisconnectPopup._labelText.text = popupText;
|
||||||
|
|
||||||
var langController = QSBWorldSync.GetUnityObject<PauseMenuManager>().transform.GetChild(0).GetComponent<FontAndLanguageController>();
|
var langController = QSBWorldSync.GetUnityObject<PauseMenuManager>().transform.GetChild(0).GetComponent<FontAndLanguageController>();
|
||||||
|
Loading…
Reference in New Issue
Block a user