From ca07e9bf5b61d7afbf29bb34bcc9589bbf168f04 Mon Sep 17 00:00:00 2001 From: Ikko Eltociear Ashimine Date: Mon, 21 Aug 2023 13:34:50 +0900 Subject: [PATCH] Fix typo in MainWindow.cs verison -> version --- VPet-Simulator.Windows/MainWindow.cs | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/VPet-Simulator.Windows/MainWindow.cs b/VPet-Simulator.Windows/MainWindow.cs index 0b620a3..075dc38 100644 --- a/VPet-Simulator.Windows/MainWindow.cs +++ b/VPet-Simulator.Windows/MainWindow.cs @@ -44,11 +44,11 @@ namespace VPet_Simulator.Windows /// /// 版本号 /// - public int verison { get; } = 101; + public int version { get; } = 101; /// /// 版本号 /// - public string Verison => $"{verison / 100}.{verison % 100}"; + public string Version => $"{version / 100}.{version % 100}"; public List LowFoodText { get; set; } = new List(); @@ -632,7 +632,7 @@ namespace VPet_Simulator.Windows StringBuilder sb = new StringBuilder(); sb.Append("action=data"); sb.Append($"&steamid={Steamworks.SteamClient.SteamId.Value}"); - sb.Append($"&ver={verison}"); + sb.Append($"&ver={version}"); sb.Append("&save="); sb.AppendLine(HttpUtility.UrlEncode(Core.Save.ToLine().ToString() + Set.ToString())); //游戏设置比存档更重要,桌宠大部分内容存设置里了,所以一起上传