#229 quick setup menu: nickname disappears when applying the resolution set as on the desktop

This commit is contained in:
drian
2021-03-08 20:20:45 +01:00
parent 02d5cc42f2
commit 5634c380e2
+1 -1
View File
@@ -692,7 +692,7 @@ menuitem "\f2 [ Apply! ] " [ if $__resetyes [ resetcfg 1; quit ]
//// QUICK setup ////
newmenu [QUICK setup]
menuitemtextinput "Nickname: " [] [ name $arg1 ]
menuitemtextinput "Nickname: " [ if (strcmp $curname "unarmed") [ result "" ] [ result $curname ] ] [ name $arg1 ]
menuitemcheckbox "Use high-res player skins" "(>= (findlist (zipmodlist active) protox_hq_reskin) 0)" [ if $arg1 [addzipmod protox_hq_reskin] [zipmodremove protox_hq_reskin] ]
menuitemtextinput "Resolution (width): " "$scr_w" [ scr_w $arg1 ]
menuitemtextinput "Resolution (height): " "$scr_h" [ scr_h $arg1 ]