Skip to content
Open
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion scripting/kento_rankme.sp
Original file line number Diff line number Diff line change
Expand Up @@ -645,7 +645,7 @@ public Action Event_RoundMVP(Handle event, const char[] name, bool dontBroadcast
return;

int client = GetClientOfUserId(GetEventInt(event, "userid"));
if (!IsClientInGame(client))
if (client < 1 || !IsClientInGame(client))
return;
int team = GetClientTeam(client);

Expand Down