Fix: Load game / Quit to the menu are not working in multiplayer (#13619)

This commit is contained in:
Hielke Morsink 2020-12-21 20:55:29 +01:00 committed by GitHub
parent 4ac3b27ae9
commit cc6b56f1f5
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -20,7 +20,7 @@ LoadOrQuitAction::LoadOrQuitAction(LoadOrQuitModes mode, PromptMode savePromptMo
uint16_t LoadOrQuitAction::GetActionFlags() const
{
return GameAction::GetActionFlags() | GameActions::Flags::AllowWhilePaused;
return GameAction::GetActionFlags() | GameActions::Flags::ClientOnly | GameActions::Flags::AllowWhilePaused;
}
void LoadOrQuitAction::Serialise(DataSerialiser& stream)