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
@ -337,7 +337,10 @@ public Action:Timer_StartMapVote(Handle:timer, Handle:data)
|
||||
return Plugin_Stop;
|
||||
}
|
||||
|
||||
InitiateVote(MapChange:ReadPackCell(data), Handle:ReadPackCell(data));
|
||||
new MapChange:mapChange = MapChange:ReadPackCell(data);
|
||||
new Handle:hndl = Handle:ReadPackCell(data);
|
||||
|
||||
InitiateVote(mapChange, hndl);
|
||||
|
||||
return Plugin_Stop;
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user