Mapchooser: missing MAX_NAME_LENGTH
This commit is contained in:
parent
c440929700
commit
6bb9052261
|
@ -69,7 +69,7 @@ public checkVotes(){
|
||||||
|
|
||||||
public countVote(id,key){
|
public countVote(id,key){
|
||||||
if ( get_cvar_float("amx_vote_answers") ) {
|
if ( get_cvar_float("amx_vote_answers") ) {
|
||||||
new name[32]
|
new name[MAX_NAME_LENGTH]
|
||||||
get_user_name(id,name,charsmax(name))
|
get_user_name(id,name,charsmax(name))
|
||||||
if ( key == SELECTMAPS )
|
if ( key == SELECTMAPS )
|
||||||
client_print(0,print_chat,"%s chose map extending", name )
|
client_print(0,print_chat,"%s chose map extending", name )
|
||||||
|
|
Loading…
Reference in New Issue
Block a user