[ClientApplication] Small fix related to -m/--multiplayer.

This commit is contained in:
Quentin Bazin 2020-03-05 11:43:53 +01:00
parent b0ffedd44b
commit 63c3313e32

View File

@ -75,7 +75,7 @@ void ClientApplication::init() {
auto &titleScreen = m_stateStack.push<TitleScreenState>(m_port);
if (m_argumentParser.getArgument("singleplayer").isFound)
titleScreen.startSingleplayer(false);
else
else if (m_argumentParser.getArgument("multiplayer").isFound)
titleScreen.startMultiplayer(m_host);
}