mirror of
https://git.do.srb2.org/KartKrew/Kart-Public.git
synced 2024-11-10 15:22:20 +00:00
Style cleanup
This commit is contained in:
parent
1441fda838
commit
129fc2bbb1
1 changed files with 6 additions and 3 deletions
|
@ -8826,10 +8826,13 @@ static void M_HandleMasterServerResetChoice(event_t *ev)
|
||||||
CV_Set(&cv_masterserver, cv_masterserver.defaultvalue);
|
CV_Set(&cv_masterserver, cv_masterserver.defaultvalue);
|
||||||
CV_Set(&cv_masterserver_nagattempts, cv_masterserver_nagattempts.defaultvalue);
|
CV_Set(&cv_masterserver_nagattempts, cv_masterserver_nagattempts.defaultvalue);
|
||||||
S_StartSound(NULL, sfx_s221);
|
S_StartSound(NULL, sfx_s221);
|
||||||
} else
|
}
|
||||||
|
else
|
||||||
{
|
{
|
||||||
if (firstDismissedNagThisBoot) {
|
if (firstDismissedNagThisBoot)
|
||||||
if (cv_masterserver_nagattempts.value > 0) {
|
{
|
||||||
|
if (cv_masterserver_nagattempts.value > 0)
|
||||||
|
{
|
||||||
CV_SetValue(&cv_masterserver_nagattempts, cv_masterserver_nagattempts.value - 1);
|
CV_SetValue(&cv_masterserver_nagattempts, cv_masterserver_nagattempts.value - 1);
|
||||||
}
|
}
|
||||||
firstDismissedNagThisBoot = false;
|
firstDismissedNagThisBoot = false;
|
||||||
|
|
Loading…
Reference in a new issue