protected override void OnRemove() { base.OnRemove(); if (!_doNotStop) { _server.Stop(); } }
public override void OnRemove() { if (!_doNotStop) { if (Server.Mode == SAMNetworkConnection.ServerMode.InLobby) { Server.KillSession(); } Server.Stop(); } }
private void OnClickCancel(HUDTextButton sender, HUDButtonEventArgs e) { _server.KillSession(); _server.Stop(); Remove(); }