From 815f8df53cd09fcd87edcab4a89c946150120085 Mon Sep 17 00:00:00 2001 From: ZouJin Date: Tue, 15 Aug 2023 14:28:05 +1000 Subject: [PATCH] =?UTF-8?q?=E4=BF=AE=E5=A4=8D=E8=AE=BF=E9=97=AE=E9=93=BE?= =?UTF-8?q?=E6=8E=A5=E5=AF=BC=E8=87=B4=E7=9A=84bug?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs | 4 +--- 1 file changed, 1 insertion(+), 3 deletions(-) diff --git a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs index ab15fb5..2edc1f1 100644 --- a/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs +++ b/VPet-Simulator.Windows/WinDesign/winGameSetting.xaml.cs @@ -419,7 +419,7 @@ namespace VPet_Simulator.Windows private void ButtonOpenModFolder_MouseDown(object sender, MouseButtonEventArgs e) { - System.Diagnostics.Process.Start(mod.Path.FullName); + Process.Start(mod.Path.FullName); } private void ButtonEnable_MouseDown(object sender, MouseButtonEventArgs e) @@ -542,8 +542,6 @@ namespace VPet_Simulator.Windows { if (!AllowChange) return; - var modname = (string)((ListBoxItem)ListMod.SelectedItem).Content; - var mod = mw.CoreMODs.Find(x => x.Name == modname); System.Diagnostics.Process.Start("https://steamcommunity.com/sharedfiles/filedetails/?id=" + mod.ItemID); }