diff --git a/scripts/eressea/cursed.lua b/scripts/eressea/cursed.lua index 2501a941b..ecf4db9de 100644 --- a/scripts/eressea/cursed.lua +++ b/scripts/eressea/cursed.lua @@ -9,7 +9,7 @@ local function curse(file) f = get_faction(line) if not f then print("no such faction: " .. line) - elseif bitset(f.flags, 16) then + elseif not bitset(f.flags, 16) then print("cursing " .. tostring(f)) f.flags = f.flags + 16 else