mirror of
https://github.com/LorisYounger/VPet.git
synced 2024-08-30 18:42:36 +00:00
@ -1009,7 +1009,7 @@ namespace VPet_Simulator.Windows
|
|||||||
public MainWindow(string prefixsave)
|
public MainWindow(string prefixsave)
|
||||||
{
|
{
|
||||||
PrefixSave = prefixsave;
|
PrefixSave = prefixsave;
|
||||||
if (!PrefixSave.StartsWith("-"))
|
if (prefixsave != string.Empty && !PrefixSave.StartsWith("-"))
|
||||||
PrefixSave = '-' + prefixsave;
|
PrefixSave = '-' + prefixsave;
|
||||||
//处理ARGS
|
//处理ARGS
|
||||||
Args = new LPS_D();
|
Args = new LPS_D();
|
||||||
|
@ -1457,10 +1457,6 @@ namespace VPet_Simulator.Windows
|
|||||||
if (LBHave.SelectedIndex == -1)
|
if (LBHave.SelectedIndex == -1)
|
||||||
return;
|
return;
|
||||||
var str = App.MutiSaves[LBHave.SelectedIndex];
|
var str = App.MutiSaves[LBHave.SelectedIndex];
|
||||||
if (str == "默认存档".Translate())
|
|
||||||
{
|
|
||||||
str = string.Empty;
|
|
||||||
}
|
|
||||||
if (str.EndsWith(")") || App.MainWindows.FirstOrDefault(x => x.PrefixSave.Trim('-') == str) != null)
|
if (str.EndsWith(")") || App.MainWindows.FirstOrDefault(x => x.PrefixSave.Trim('-') == str) != null)
|
||||||
{
|
{
|
||||||
MessageBoxX.Show("当前多开已经加载".Translate());
|
MessageBoxX.Show("当前多开已经加载".Translate());
|
||||||
|
Reference in New Issue
Block a user