mirror of
https://github.com/DrBeef/ioq3quest.git
synced 2024-11-14 08:31:00 +00:00
Fix creating favorite when not on view favorite servers
This commit is contained in:
parent
fe47952bf5
commit
7ccdff6e12
1 changed files with 19 additions and 21 deletions
|
@ -3481,7 +3481,6 @@ static void UI_RunMenuScript(char **args) {
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
} else if (Q_stricmp(name, "createFavorite") == 0) {
|
} else if (Q_stricmp(name, "createFavorite") == 0) {
|
||||||
if (ui_netSource.integer == UIAS_FAVORITES) {
|
|
||||||
char name[MAX_NAME_LENGTH];
|
char name[MAX_NAME_LENGTH];
|
||||||
char addr[MAX_ADDRESSLENGTH];
|
char addr[MAX_ADDRESSLENGTH];
|
||||||
int res;
|
int res;
|
||||||
|
@ -3504,7 +3503,6 @@ static void UI_RunMenuScript(char **args) {
|
||||||
Com_Printf("Added favorite server %s\n", addr);
|
Com_Printf("Added favorite server %s\n", addr);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
}
|
|
||||||
} else if (Q_stricmp(name, "orders") == 0) {
|
} else if (Q_stricmp(name, "orders") == 0) {
|
||||||
const char *orders;
|
const char *orders;
|
||||||
if (String_Parse(args, &orders)) {
|
if (String_Parse(args, &orders)) {
|
||||||
|
|
Loading…
Reference in a new issue