Skip to content

Commit

Permalink
core: add blank before extending map item
Browse files Browse the repository at this point in the history
  • Loading branch information
Mistrick committed Oct 8, 2023
1 parent d61b89a commit e83fe95
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions cstrike/addons/amxmodx/scripting/map_manager_core.sma
Original file line number Diff line number Diff line change
Expand Up @@ -750,6 +750,10 @@ public show_votemenu(id)
new item_data[ItemStruct], custom_item_data[CustomItemStruct];

for(new i, size = ArraySize(g_aMenuItems); i < size; i++) {
if(g_bCanExtend && i == g_iPushPos) {
len += formatex(menu[len], charsmax(menu) - len, "^n");
}

ArrayGetArray(g_aMenuItems, i, item_data);
if(item_data[is_type] == it_custom) {
ArrayGetArray(g_aCustomItems, item_data[is_custom_index], custom_item_data);
Expand Down

0 comments on commit e83fe95

Please sign in to comment.