fix bool value bug in zr_class_modify

This commit is contained in:
BotoX 2019-12-14 19:03:05 +01:00
parent 115d24b997
commit 63adb12960

View File

@ -388,7 +388,7 @@ public Action:ClassModifyCommand(client, argc)
{
case ClassDataType_Boolean:
{
if (!ClassModifyBoolean(classindex, attributeflag, bool:StringToInt(value)))
if (!ClassModifyBoolean(classindex, attributeflag, ConfigSettingToBool(value)))
{
ReplyToCommand(client, "Failed to set \"%s\" to \"%s\" in class \"%d\".", attributename, value, classindex);
}