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
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB
1 changed files with 1 additions and 0 deletions

View File

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