]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/menu/xonotic/commandbutton.qc
take3: format 903 files
[xonotic/xonotic-data.pk3dir.git] / qcsrc / menu / xonotic / commandbutton.qc
index 8e691a036bab1d97301c55b229aec9afa47cdb04..e978ddc26bf33b8ee5cb734dc74183b13f5c6cb5 100644 (file)
@@ -14,13 +14,14 @@ entity makeXonoticCommandButton(string theText, vector theColor, string theComma
 
 void XonoticCommandButton_Click(entity me, entity other)
 {
-       //if(me.flags & COMMANDBUTTON_APPLY)
+       // if(me.flags & COMMANDBUTTON_APPLY)
        //      saveAllCvars(me.parent);
        cmd("\n", me.onClickCommand, "\n");
-       //if(me.flags & COMMANDBUTTON_REVERT)
+       // if(me.flags & COMMANDBUTTON_REVERT)
        //      loadAllCvars(me.parent);
-       if(me.flags & COMMANDBUTTON_CLOSE)
+       if (me.flags & COMMANDBUTTON_CLOSE) {
                m_goto(string_null);
+       }
 }
 
 void XonoticCommandButton_configureXonoticCommandButton(entity me, string theText, vector theColor, string theCommand, float theFlags, string theTooltip)