summaryrefslogtreecommitdiff
path: root/npc/craft/options.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/craft/options.txt')
-rw-r--r--npc/craft/options.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/craft/options.txt b/npc/craft/options.txt
index 79fc6833e..d09b4ddc1 100644
--- a/npc/craft/options.txt
+++ b/npc/craft/options.txt
@@ -446,7 +446,7 @@ function script csys_Apply {
// Remove weapon-only bonuses if it is armor
delinventorylist();
getinventorylist();
- if (getiteminfo(@inventorylist_id[.@id], ITEMINFO_TYPE) == IT_ARMOR)
+ if (getiteminfo(@inventorylist_id[.@id], ITEMINFO_TYPE) != IT_WEAPON)
csys_ArmorFix();
else
@csysArmor=false;