Fix typo in MainWindow.cs

verison -> version
This commit is contained in:
Ikko Eltociear Ashimine 2023-08-21 13:34:50 +09:00 committed by GitHub
parent 16f907b358
commit ca07e9bf5b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -44,11 +44,11 @@ namespace VPet_Simulator.Windows
/// <summary>
/// 版本号
/// </summary>
public int verison { get; } = 101;
public int version { get; } = 101;
/// <summary>
/// 版本号
/// </summary>
public string Verison => $"{verison / 100}.{verison % 100}";
public string Version => $"{version / 100}.{version % 100}";
public List<LowText> LowFoodText { get; set; } = new List<LowText>();
@ -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()));
//游戏设置比存档更重要,桌宠大部分内容存设置里了,所以一起上传