diff --git a/Fika.Core/UI/Patches/FikaVersionLabel_Patch.cs b/Fika.Core/UI/Patches/FikaVersionLabel_Patch.cs index eadb935b..de28d679 100644 --- a/Fika.Core/UI/Patches/FikaVersionLabel_Patch.cs +++ b/Fika.Core/UI/Patches/FikaVersionLabel_Patch.cs @@ -19,7 +19,7 @@ public class FikaVersionLabel_Patch : ModulePatch private static string fikaVersion; - private static string officalVersion; + private static string officialVersion; protected override MethodBase GetTargetMethod() { @@ -47,7 +47,7 @@ internal static void PatchPostfix(string major, object __result) versionNumberTraverse = Traverse.Create(__result); - officalVersion = (string)versionNumberTraverse.Field("Major").GetValue(); + officialVersion = (string)versionNumberTraverse.Field("Major").GetValue(); UpdateVersionLabel(); } @@ -57,8 +57,8 @@ public static void UpdateVersionLabel() Traverse preloaderUiTraverse= Traverse.Create(MonoBehaviourSingleton.Instance); if (FikaPlugin.OfficialVersion.Value) { - preloaderUiTraverse.Field("string_2").SetValue($"{officalVersion} Beta version"); - versionNumberTraverse.Field("Major").SetValue(officalVersion); + preloaderUiTraverse.Field("string_2").SetValue($"{officialVersion} Beta version"); + versionNumberTraverse.Field("Major").SetValue(officialVersion); } else {