From 00cfa93034c5b6fad750b395ac14a1c58c9dd93f Mon Sep 17 00:00:00 2001 From: chai Date: Mon, 4 Jan 2021 14:52:20 +0800 Subject: =?UTF-8?q?*=E5=8D=8F=E8=AE=AE?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- Client/Assembly-CSharp/IntroCutscene.cs | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) (limited to 'Client/Assembly-CSharp/IntroCutscene.cs') diff --git a/Client/Assembly-CSharp/IntroCutscene.cs b/Client/Assembly-CSharp/IntroCutscene.cs index 3271c11..fca050a 100644 --- a/Client/Assembly-CSharp/IntroCutscene.cs +++ b/Client/Assembly-CSharp/IntroCutscene.cs @@ -1,6 +1,7 @@ using System; using System.Collections; using System.Collections.Generic; +using System.Runtime; using UnityEngine; public class IntroCutscene : MonoBehaviour @@ -77,7 +78,7 @@ public class IntroCutscene : MonoBehaviour int adjustedNumImpostors = PlayerControl.GameOptions.GetAdjustedNumImpostors(GameData.Instance.PlayerCount); if (adjustedNumImpostors == 1) { - this.ImpostorText.Text = DestroyableSingleton.Instance.GetString(StringNames.NumImpostorsS, Array.Empty()); + this.ImpostorText.Text = DestroyableSingleton.Instance.GetString(StringNames.NumImpostorsS,/* Array.Empty()*/null); } else { @@ -87,7 +88,7 @@ public class IntroCutscene : MonoBehaviour }); } this.BackgroundBar.material.SetColor("_Color", Palette.CrewmateBlue); - this.Title.Text = DestroyableSingleton.Instance.GetString(StringNames.Crewmate, Array.Empty()); + this.Title.Text = DestroyableSingleton.Instance.GetString(StringNames.Crewmate, /*Array.Empty()*/null); this.Title.Color = Palette.CrewmateBlue; for (int i = 0; i < yourTeam.Count; i++) { @@ -121,7 +122,7 @@ public class IntroCutscene : MonoBehaviour private void BeginImpostor(List yourTeam) { this.ImpostorText.gameObject.SetActive(false); - this.Title.Text = DestroyableSingleton.Instance.GetString(StringNames.Impostor, Array.Empty()); + this.Title.Text = DestroyableSingleton.Instance.GetString(StringNames.Impostor, /*Array.Empty()*/null); this.Title.Color = Palette.ImpostorRed; for (int i = 0; i < yourTeam.Count; i++) { -- cgit v1.1-26-g67d0