mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
修复选项式聊天停用错误
This commit is contained in:
parent
c5fe33e1ab
commit
809054213f
@ -576,7 +576,8 @@ namespace VPet_Simulator.Windows
|
||||
if (string.IsNullOrWhiteSpace(line.ToString()))
|
||||
return false;
|
||||
Core.Save = GameSave.Load(line);
|
||||
if (Core.Save.Money == 0 && Core.Save.Likability == 0 && Core.Save.Exp == 0 && Core.Save.StrengthDrink == 0 && Core.Save.StrengthFood == 0)//数据全是0,可能是bug
|
||||
if (Core.Save.Money == 0 && Core.Save.Likability == 0 && Core.Save.Exp == 0
|
||||
&& Core.Save.StrengthDrink == 0 && Core.Save.StrengthFood == 0)//数据全是0,可能是bug
|
||||
return false;
|
||||
long hash = line.GetInt64("hash");
|
||||
if (line.Remove("hash"))
|
||||
|
@ -469,11 +469,13 @@ namespace VPet_Simulator.Windows
|
||||
Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
||||
break;
|
||||
case "LB":
|
||||
if (IsSteamUser)
|
||||
{
|
||||
TalkBox = new TalkSelect(this);
|
||||
Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
||||
}
|
||||
//if (IsSteamUser)
|
||||
//{
|
||||
// TalkBox = new TalkSelect(this);
|
||||
// Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
||||
//}
|
||||
TalkBox = new TalkSelect(this);
|
||||
Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
||||
break;
|
||||
}
|
||||
|
||||
|
@ -173,8 +173,8 @@ namespace VPet_Simulator.Windows
|
||||
case "LB":
|
||||
RBCGPTUseLB.IsChecked = true;
|
||||
BtnCGPTReSet.Content = "初始化桌宠聊天程序".Translate();
|
||||
if (!mw.IsSteamUser)
|
||||
BtnCGPTReSet.IsEnabled = false;
|
||||
//if (!mw.IsSteamUser)
|
||||
// BtnCGPTReSet.IsEnabled = false;
|
||||
break;
|
||||
case "OFF":
|
||||
default:
|
||||
|
Loading…
Reference in New Issue
Block a user