Fixed newlines when printing the teamwin

This commit is contained in:
smallmodel committed 2023-08-18 15:10:35 +02:00
1 parent de10ab8df3
commit f20b47ebc0
1 file changed
+3 -3
+3 -3
View File
@@ -1420,7 +1420,7 @@ void DM_Manager::EventDoRoundTransition(Event *ev)
if (m_iTeamWin == TEAM_AXIS) {
G_CenterPrintToAllClients(va("\n\n\n%s\n", gi.LV_ConvertString("Axis win!\n")));
G_PrintToAllClients(va("\n\n\n%s\n", gi.LV_ConvertString("Axis win!\n")));
G_PrintToAllClients(va("%s\n", gi.LV_ConvertString("Axis win!\n")));
// Play the axis victory sound
world->Sound("den_victory_v");
@@ -1428,7 +1428,7 @@ void DM_Manager::EventDoRoundTransition(Event *ev)
Unregister(STRING_AXISWIN);
} else if (m_iTeamWin == TEAM_ALLIES) {
G_CenterPrintToAllClients(va("\n\n\n%s\n", gi.LV_ConvertString("Allies win!\n")));
G_PrintToAllClients(va("\n\n\n%s\n", gi.LV_ConvertString("Allies win!\n")));
G_PrintToAllClients(va("\%s\n", gi.LV_ConvertString("Allies win!\n")));
// Play the allies victory sound
world->Sound("dfr_victory_v");
@@ -1436,7 +1436,7 @@ void DM_Manager::EventDoRoundTransition(Event *ev)
Unregister(STRING_ALLIESWIN);
} else {
G_CenterPrintToAllClients(va("\n\n\n%s\n", gi.LV_ConvertString("It's a draw!\n")));
G_PrintToAllClients(va("\n\n\n%s\n", gi.LV_ConvertString("It's a draw!\n")));
G_PrintToAllClients(va("%s\n", gi.LV_ConvertString("It's a draw!\n")));
Unregister(STRING_DRAW);
}