Skip to content

Commit 75a94ee

Browse files
committed
dead/inactive flag -> killed
1 parent 6b78bb5 commit 75a94ee

1 file changed

Lines changed: 2 additions & 2 deletions

File tree

deathcause.rb

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -52,13 +52,13 @@ def display_death_unit(u)
5252
if unit ||= item.unit_tg
5353
display_death_unit(unit)
5454
else
55-
puts "Not a historical figure, cannot death find info"
55+
puts "Not a historical figure, cannot find death info"
5656
end
5757

5858
else
5959
histfig = df.world.history.figures.binsearch(hf)
6060
unit = histfig ? df.unit_find(histfig.unit_id) : nil
61-
if unit and not unit.flags1.dead and not unit.flags3.ghostly
61+
if unit and not unit.flags2.killed and not unit.flags3.ghostly
6262
puts "#{unit.name} is not dead yet !"
6363

6464
else

0 commit comments

Comments
 (0)