NetPlayClient: Treat power button event as a netplay stop.

This commit is contained in:
Admiral H. Curtiss
2022-09-13 01:23:17 +02:00
parent 35f6d12acc
commit bf331ffa45

View File

@ -910,6 +910,7 @@ void NetPlayClient::OnStopGame(sf::Packet& packet)
void NetPlayClient::OnPowerButton()
{
InvokeStop();
m_dialog->OnMsgPowerButton();
}