forked from github/server
fix cursed factions (broke it during bit32 changes)
This commit is contained in:
parent
fd3ff16723
commit
b33babd316
|
@ -9,7 +9,7 @@ local function curse(file)
|
||||||
f = get_faction(line)
|
f = get_faction(line)
|
||||||
if not f then
|
if not f then
|
||||||
print("no such faction: " .. line)
|
print("no such faction: " .. line)
|
||||||
elseif bitset(f.flags, 16) then
|
elseif not bitset(f.flags, 16) then
|
||||||
print("cursing " .. tostring(f))
|
print("cursing " .. tostring(f))
|
||||||
f.flags = f.flags + 16
|
f.flags = f.flags + 16
|
||||||
else
|
else
|
||||||
|
|
Loading…
Reference in New Issue