mirror of
https://github.com/alliedmodders/amxmodx.git
synced 2025-01-26 13:48:03 +03:00
Fixed bug am48018
This commit is contained in:
parent
73b2ceb855
commit
b237317e50
@ -90,7 +90,8 @@ public checkVotes()
|
|||||||
b = a
|
b = a
|
||||||
|
|
||||||
|
|
||||||
if (g_voteCount[SELECTMAPS] > g_voteCount[b])
|
if (g_voteCount[SELECTMAPS] > g_voteCount[b]
|
||||||
|
&& g_voteCount[SELECTMAPS] > g_voteCount[SELECTMAPS+1])
|
||||||
{
|
{
|
||||||
new mapname[32]
|
new mapname[32]
|
||||||
|
|
||||||
@ -104,7 +105,9 @@ public checkVotes()
|
|||||||
}
|
}
|
||||||
|
|
||||||
if (g_voteCount[b] && g_voteCount[SELECTMAPS + 1] <= g_voteCount[b])
|
if (g_voteCount[b] && g_voteCount[SELECTMAPS + 1] <= g_voteCount[b])
|
||||||
|
{
|
||||||
set_cvar_string("amx_nextmap", g_mapName[g_nextName[b]])
|
set_cvar_string("amx_nextmap", g_mapName[g_nextName[b]])
|
||||||
|
}
|
||||||
|
|
||||||
new smap[32]
|
new smap[32]
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user