Merge pull request #84 from eltociear/main-1

Fix typo
This commit is contained in:
ZouJin 2023-08-21 21:33:06 +08:00 committed by GitHub
commit 0a19aabf5e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
2 changed files with 5 additions and 5 deletions

View File

@ -34,11 +34,11 @@ namespace VPet_Simulator.Windows.Interface
/// <summary>
/// 版本号
/// </summary>
int verison { get; }
int version { get; }
/// <summary>
/// 版本号
/// </summary>
string Verison { get; }
string Version { get; }
/// <summary>
/// 上次点击时间 (Tick)
/// </summary>

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()));
//游戏设置比存档更重要,桌宠大部分内容存设置里了,所以一起上传