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()))
|
if (string.IsNullOrWhiteSpace(line.ToString()))
|
||||||
return false;
|
return false;
|
||||||
Core.Save = GameSave.Load(line);
|
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;
|
return false;
|
||||||
long hash = line.GetInt64("hash");
|
long hash = line.GetInt64("hash");
|
||||||
if (line.Remove("hash"))
|
if (line.Remove("hash"))
|
||||||
|
@ -469,11 +469,13 @@ namespace VPet_Simulator.Windows
|
|||||||
Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
||||||
break;
|
break;
|
||||||
case "LB":
|
case "LB":
|
||||||
if (IsSteamUser)
|
//if (IsSteamUser)
|
||||||
{
|
//{
|
||||||
TalkBox = new TalkSelect(this);
|
// TalkBox = new TalkSelect(this);
|
||||||
Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
// Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
||||||
}
|
//}
|
||||||
|
TalkBox = new TalkSelect(this);
|
||||||
|
Main.ToolBar.MainGrid.Children.Add(TalkBox);
|
||||||
break;
|
break;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
@ -173,8 +173,8 @@ namespace VPet_Simulator.Windows
|
|||||||
case "LB":
|
case "LB":
|
||||||
RBCGPTUseLB.IsChecked = true;
|
RBCGPTUseLB.IsChecked = true;
|
||||||
BtnCGPTReSet.Content = "初始化桌宠聊天程序".Translate();
|
BtnCGPTReSet.Content = "初始化桌宠聊天程序".Translate();
|
||||||
if (!mw.IsSteamUser)
|
//if (!mw.IsSteamUser)
|
||||||
BtnCGPTReSet.IsEnabled = false;
|
// BtnCGPTReSet.IsEnabled = false;
|
||||||
break;
|
break;
|
||||||
case "OFF":
|
case "OFF":
|
||||||
default:
|
default:
|
||||||
|
Loading…
Reference in New Issue
Block a user