Style cleanup

This commit is contained in:
AJ Martinez 2022-05-25 18:22:43 -05:00
parent 1441fda838
commit 129fc2bbb1

View file

@ -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;