summaryrefslogtreecommitdiff
path: root/Client/Assembly-CSharp/IntroCutscene.cs
diff options
context:
space:
mode:
Diffstat (limited to 'Client/Assembly-CSharp/IntroCutscene.cs')
-rw-r--r--Client/Assembly-CSharp/IntroCutscene.cs7
1 files changed, 4 insertions, 3 deletions
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<TranslationController>.Instance.GetString(StringNames.NumImpostorsS, Array.Empty<object>());
+ this.ImpostorText.Text = DestroyableSingleton<TranslationController>.Instance.GetString(StringNames.NumImpostorsS,/* Array.Empty<object>()*/null);
}
else
{
@@ -87,7 +88,7 @@ public class IntroCutscene : MonoBehaviour
});
}
this.BackgroundBar.material.SetColor("_Color", Palette.CrewmateBlue);
- this.Title.Text = DestroyableSingleton<TranslationController>.Instance.GetString(StringNames.Crewmate, Array.Empty<object>());
+ this.Title.Text = DestroyableSingleton<TranslationController>.Instance.GetString(StringNames.Crewmate, /*Array.Empty<object>()*/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<PlayerControl> yourTeam)
{
this.ImpostorText.gameObject.SetActive(false);
- this.Title.Text = DestroyableSingleton<TranslationController>.Instance.GetString(StringNames.Impostor, Array.Empty<object>());
+ this.Title.Text = DestroyableSingleton<TranslationController>.Instance.GetString(StringNames.Impostor, /*Array.Empty<object>()*/null);
this.Title.Color = Palette.ImpostorRed;
for (int i = 0; i < yourTeam.Count; i++)
{