From 5634c380e2eadf2c49baa3f08dd445cb04c8a634 Mon Sep 17 00:00:00 2001 From: drian Date: Mon, 8 Mar 2021 20:20:45 +0100 Subject: [PATCH] #229 quick setup menu: nickname disappears when applying the resolution set as on the desktop --- config/menus_settings.cfg | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/config/menus_settings.cfg b/config/menus_settings.cfg index b45ebe9f..b840a5b9 100644 --- a/config/menus_settings.cfg +++ b/config/menus_settings.cfg @@ -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 ]