Fixed reverse order of evaluation in mapchooser causing an invalid handle read (bug 3290, r=bl4nk).
This commit is contained in:
parent
e10dd226ff
commit
2534fd1ce2
@ -336,8 +336,11 @@ public Action:Timer_StartMapVote(Handle:timer, Handle:data)
|
|||||||
{
|
{
|
||||||
return Plugin_Stop;
|
return Plugin_Stop;
|
||||||
}
|
}
|
||||||
|
|
||||||
|
new MapChange:mapChange = MapChange:ReadPackCell(data);
|
||||||
|
new Handle:hndl = Handle:ReadPackCell(data);
|
||||||
|
|
||||||
InitiateVote(MapChange:ReadPackCell(data), Handle:ReadPackCell(data));
|
InitiateVote(mapChange, hndl);
|
||||||
|
|
||||||
return Plugin_Stop;
|
return Plugin_Stop;
|
||||||
}
|
}
|
||||||
|
Loading…
Reference in New Issue
Block a user