Skip to content

Commit

Permalink
fix: weird character duping in settings map
Browse files Browse the repository at this point in the history
  • Loading branch information
diamante0018 committed Mar 18, 2023
1 parent 1e57574 commit 028edf6
Showing 1 changed file with 8 additions and 5 deletions.
13 changes: 8 additions & 5 deletions iw4x/iw4x_00/ui_mp/settings_map.menu
Original file line number Diff line number Diff line change
Expand Up @@ -210,7 +210,7 @@
{
play "mouse_over";
setItemColor "maplist" bordercolor 1 1 1 "1";
LOCAL_MAP_FOCUS( "@" + localvarstring( "ui_info_name" ), "Custom usermaps/", "loadscreen_mp_bonusmaps" )
LOCAL_MAP_FOCUS( localvarstring( "ui_info_name" ), "Custom usermaps", "loadscreen_mp_bonusmaps" )
}
leaveFocus
{
Expand All @@ -236,7 +236,7 @@
decoration
textScale 0.55
exp material ( localvarstring( "ui_info_icon" ) )
visible when(localvarstring( "ui_info_icon") != "" && dvarbool( "widescreen" ) && dvarint("iw4x_maps_dlc") != 99 )
visible when ( localvarstring( "ui_info_icon") != "" && dvarbool( "widescreen" ) && dvarint("iw4x_maps_dlc") != 99 )
}
itemDef
{
Expand Down Expand Up @@ -286,12 +286,12 @@
elementtype LISTBOX_TEXT
elementWidth 120
elementHeight 22
visible when (!dvarbool( "widescreen" ) && dvarint("iw4x_maps_dlc") == 99 )
visible when ( !dvarbool( "widescreen" ) && dvarint("iw4x_maps_dlc") == 99 )
onFocus
{
play "mouse_over";
setItemColor "maplist" bordercolor 1 1 1 "1";
LOCAL_MAP_FOCUS( "Custom Maps", "Custom usermaps/", "loadscreen_mp_bonusmaps" )
LOCAL_MAP_FOCUS( "Custom Maps", "Custom usermaps", "loadscreen_mp_bonusmaps" )
}
leaveFocus
{
Expand All @@ -309,6 +309,7 @@
textScale 0.55
visible when ( !dvarbool( "widescreen" ) )
}

itemDef
{
name "mapimage"
Expand All @@ -318,8 +319,9 @@
decoration
textScale 0.55
exp material ( localvarstring( "ui_info_icon" ) )
visible when( localvarstring( "ui_info_icon") != "" && !dvarbool( "widescreen" ) && dvarint("iw4x_maps_dlc") != 99 )
visible when ( localvarstring( "ui_info_icon") != "" && !dvarbool( "widescreen" ) && dvarint("iw4x_maps_dlc") != 99 )
}

itemDef
{
name "longname"
Expand All @@ -333,6 +335,7 @@
exp text ( "@" + localvarstring( "ui_info_name" ) )
visible when ( !dvarbool( "widescreen" ) )
}

itemDef
{
name "description"
Expand Down

0 comments on commit 028edf6

Please sign in to comment.