Fixed a bug in dispInfo: if client disconnected fast enough we got a native error in client_print :-D

This commit is contained in:
Johnny Bergström 2005-02-21 00:23:16 +00:00
parent 57eec2b88e
commit 3774575160

View File

@ -88,6 +88,8 @@ public cmdHelp(id,level,cid) {
#if defined DISPLAY_MSG
public dispInfo(id) {
if (!is_user_connected(id))
return
client_print(id,print_chat,"%L",id,"TYPE_HELP")
new nextmap[32]
get_cvar_string("amx_nextmap",nextmap,31)