Style cleanup

This commit is contained in:
AJ Martinez 2022-05-25 18:22:43 -05:00
parent 1441fda838
commit 129fc2bbb1
1 changed files with 6 additions and 3 deletions

View File

@ -8826,10 +8826,13 @@ static void M_HandleMasterServerResetChoice(event_t *ev)
CV_Set(&cv_masterserver, cv_masterserver.defaultvalue);
CV_Set(&cv_masterserver_nagattempts, cv_masterserver_nagattempts.defaultvalue);
S_StartSound(NULL, sfx_s221);
} else
}
else
{
if (firstDismissedNagThisBoot) {
if (cv_masterserver_nagattempts.value > 0) {
if (firstDismissedNagThisBoot)
{
if (cv_masterserver_nagattempts.value > 0)
{
CV_SetValue(&cv_masterserver_nagattempts, cv_masterserver_nagattempts.value - 1);
}
firstDismissedNagThisBoot = false;