Skip to content

Commit 3bce2db

Browse files
committed
nomination: fix variable init
1 parent e763482 commit 3bce2db

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cstrike/addons/amxmodx/scripting/map_manager_nomination.sma

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -9,7 +9,7 @@
99
#endif
1010

1111
#define PLUGIN "Map Manager: Nomination"
12-
#define VERSION "0.3.7"
12+
#define VERSION "0.3.7-1"
1313
#define AUTHOR "Mistrick"
1414

1515
#pragma semicolon 1
@@ -588,7 +588,7 @@ public mapm_prepare_votelist(type)
588588
new nom_info[NomStruct];
589589
new max_items = mapm_get_votelist_size();
590590
new Array:a = ArrayCreate(MAPNAME_LENGTH, 0);
591-
for(new i = mapm_get_count_maps_in_vote(), index; i < max_items && ArraySize(g_aNomList); i++) {
591+
for(new i = mapm_get_count_maps_in_vote(), result, index; i < max_items && ArraySize(g_aNomList); i++) {
592592
index = random_num(0, ArraySize(g_aNomList) - 1);
593593
ArrayGetArray(g_aNomList, index, nom_info);
594594
ArrayDeleteItem(g_aNomList, index);

0 commit comments

Comments
 (0)