From 448736d17d3e03c45ff3bdad7aae34408db2d577 Mon Sep 17 00:00:00 2001 From: Lacyway <20912169+Lacyway@users.noreply.github.com> Date: Tue, 18 Jun 2024 08:33:17 +0200 Subject: [PATCH] Fix grammar --- Fika.Core/UI/Patches/FikaVersionLabel_Patch.cs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) 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 {