mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2025-01-27 03:30:50 +00:00
Only show the rules popup if rules have been recorded.
This commit is contained in:
parent
4f58842804
commit
0845547f47
1 changed files with 5 additions and 3 deletions
|
@ -6341,9 +6341,11 @@ void M_PopupMasterServerRules(void)
|
|||
{
|
||||
char *rules = GetMasterServerRules();
|
||||
|
||||
M_StartMessage(va("%s\n(press any key)", rules), NULL, MM_NOTHING);
|
||||
|
||||
Z_Free(rules);
|
||||
if (rules)
|
||||
{
|
||||
M_StartMessage(va("%s\n(press any key)", rules), NULL, MM_NOTHING);
|
||||
Z_Free(rules);
|
||||
}
|
||||
}
|
||||
#endif
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue