Skip to content

Commit

Permalink
退出时关掉和Steam的连线
Browse files Browse the repository at this point in the history
  • Loading branch information
LorisYounger committed Aug 16, 2023
1 parent 7cd4c08 commit c26f4eb
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions VPet-Simulator.Windows/MainWindow.xaml.cs
Original file line number Diff line number Diff line change
Expand Up @@ -165,6 +165,8 @@ private void Restart_Closed(object sender, EventArgs e)
}
private void Exit()
{
if (IsSteamUser)
SteamClient.Shutdown();//关掉和Steam的连线
if (Core != null)
{
foreach (var igs in Core.Graph.GraphsList.Values)
Expand Down

0 comments on commit c26f4eb

Please sign in to comment.