Fixed zr_class_set_multiplier not aborting when there's a invalid attribute specified.

This commit is contained in:
richard 2009-12-07 14:38:23 +01:00
parent 9d5448e162
commit da3bd3c889

View File

@ -563,6 +563,7 @@ public Action:ClassSetMultiplierCommand(client, argc)
if (attribute == ClassM_Invalid)
{
ReplyToCommand(client, "Attribute is invalid or not a multiplier: %s", attributename);
return Plugin_Handled;
}
// Get value.