NetPlayClient: Treat power button event as a netplay stop.
This commit is contained in:
parent
35f6d12acc
commit
bf331ffa45
|
@ -910,6 +910,7 @@ void NetPlayClient::OnStopGame(sf::Packet& packet)
|
|||
|
||||
void NetPlayClient::OnPowerButton()
|
||||
{
|
||||
InvokeStop();
|
||||
m_dialog->OnMsgPowerButton();
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue