From 63adb12960cc707a6b09d1cc03d431bac1c2bb6d Mon Sep 17 00:00:00 2001 From: BotoX Date: Sat, 14 Dec 2019 19:03:05 +0100 Subject: [PATCH] fix bool value bug in zr_class_modify --- src/zr/playerclasses/classcommands.inc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/zr/playerclasses/classcommands.inc b/src/zr/playerclasses/classcommands.inc index b33eef7..dece70c 100644 --- a/src/zr/playerclasses/classcommands.inc +++ b/src/zr/playerclasses/classcommands.inc @@ -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); }