Small renaming

This commit is contained in:
Maurice Heumann 2023-01-24 18:54:17 +01:00
parent 2382653b28
commit ce2f04ef12

View File

@ -31,7 +31,7 @@ namespace party
return server_queries; return server_queries;
} }
void stop_zombies_intro_when_needed() void stop_zombies_intro_if_needed()
{ {
if (game::Com_SessionMode_GetMode() != game::MODE_ZOMBIES) if (game::Com_SessionMode_GetMode() != game::MODE_ZOMBIES)
{ {
@ -58,7 +58,7 @@ namespace party
game::XSESSION_INFO info{}; game::XSESSION_INFO info{};
game::CL_ConnectFromLobby(0, &info, &addr, 1, 0, mapname.data(), gamemode.data()); game::CL_ConnectFromLobby(0, &info, &addr, 1, 0, mapname.data(), gamemode.data());
stop_zombies_intro_when_needed(); stop_zombies_intro_if_needed();
} }
void launch_mode(const game::eModes mode) void launch_mode(const game::eModes mode)