Skip to content

Commit 506efce

Browse files
committed
Merge branch 'dead_misuse' of https://github.com/PatrikLundell/scripts into dead_misuse
2 parents 17a06a9 + b9ffb9c commit 506efce

2 files changed

Lines changed: 2 additions & 2 deletions

File tree

devel/export-dt-ini.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -489,7 +489,7 @@ write_flags('invalid_flags_1', {
489489
{ 'an invader or hostile', { df.unit_flags1.invader_origin } },
490490
{ 'resident, invader or ambusher', { df.unit_flags1.hidden_ambusher, df.unit_flags1.invades } },
491491
{ 'part of a merchant caravan', { df.unit_flags1.forest } },
492-
{ 'Inactive, currently not in play', { df.unit_flags1.dead } },
492+
{ 'inactive, currently not in play', { df.unit_flags1.dead } },
493493
{ 'marauder', { df.unit_flags1.marauder } }
494494
});
495495
write_flags ('invalid_flags_2', {

fix/feeding-timers.lua

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -17,7 +17,7 @@ end
1717

1818
local fixcount = 0
1919
for _,unit in ipairs(df.global.world.units.all) do
20-
if dfhack.units.isCitizen(unit) and isActive(unit) then
20+
if dfhack.units.isCitizen(unit) and dfhack.units.isActive(unit) then
2121
for _,v in pairs(unit.status.misc_traits) do
2222
local didfix = 0
2323
if v.id == 0 then -- I think this should have additional conditions...

0 commit comments

Comments
 (0)