aboutsummaryrefslogtreecommitdiff
path: root/source/WindowsFormsApplication1/Online/Hacking/Matchmaker.cs
diff options
context:
space:
mode:
authorMichaelTheShifter <[email protected]>2016-06-26 07:04:41 -0400
committerMichaelTheShifter <[email protected]>2016-06-26 07:04:41 -0400
commite8436720edf1c012cef7ece1a70d1edd9bd2ed35 (patch)
treed36e19b2fbdc37b70b7f9e720ad9ff94b06cc05d /source/WindowsFormsApplication1/Online/Hacking/Matchmaker.cs
parent309f9fe361af7b0a508770951af7c548dfca78ad (diff)
downloadshiftos-c--e8436720edf1c012cef7ece1a70d1edd9bd2ed35.tar.gz
shiftos-c--e8436720edf1c012cef7ece1a70d1edd9bd2ed35.tar.bz2
shiftos-c--e8436720edf1c012cef7ece1a70d1edd9bd2ed35.zip
Make the Network Browser stop matchmaking when closed or a match was made.
Diffstat (limited to 'source/WindowsFormsApplication1/Online/Hacking/Matchmaker.cs')
-rw-r--r--source/WindowsFormsApplication1/Online/Hacking/Matchmaker.cs1
1 files changed, 1 insertions, 0 deletions
diff --git a/source/WindowsFormsApplication1/Online/Hacking/Matchmaker.cs b/source/WindowsFormsApplication1/Online/Hacking/Matchmaker.cs
index 93aa8d9..aa673e4 100644
--- a/source/WindowsFormsApplication1/Online/Hacking/Matchmaker.cs
+++ b/source/WindowsFormsApplication1/Online/Hacking/Matchmaker.cs
@@ -74,6 +74,7 @@ namespace ShiftOS.Online.Hacking
MakerTimer.Stop();
SelectedNetworkListener = new NetListener(si, SelectedNetwork);
SelectedNetworkTransmitter = new NetTransmitter(si, SelectedNetwork);
+ Package_Grabber.SendMessage(SelectedServer.IPAddress, $"leave_lobby", API.CurrentSave.MyOnlineNetwork);
}
};
}