Skip to content

Commit 78bf537

Browse files
authored
Mute menu: Fix EXIT item shift
AMXX bug when use `menu_addblank()` fix #255
1 parent eb57991 commit 78bf537

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

cstrike/addons/amxmodx/scripting/CA_Mute.sma

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -87,8 +87,7 @@ static MenuShow_PlayersList(const id) {
8787
if(count < 2) {
8888
menu_additem(menu, fmt("\\r %L", id, "Mute_NotEnoughPlayers"), fmt("%i", ITEM_NOT_ENOUTH_PLAYERS), .callback = callback)
8989
} else {
90-
menu_additem(menu, fmt("\\y %L %s", id, "Mute_MuteAll", g_globalMute[id] ? "\\w[ \\r+\\w ]" : ""), fmt("%i", ITEM_MUTE_ALL))
91-
menu_addblank(menu, .slot = false)
90+
menu_additem(menu, fmt("\\y %L %s\n", id, "Mute_MuteAll", g_globalMute[id] ? "\\w[ \\r+\\w ]" : ""), fmt("%i", ITEM_MUTE_ALL))
9291

9392
new name[128]
9493
for(new i; i < count; i++) {

0 commit comments

Comments
 (0)