exterminate: fix gender detection

develop
jj 2013-03-19 18:35:06 +01:00
parent 2c0d88a372
commit 3567bb7299
1 changed files with 4 additions and 4 deletions

@ -73,9 +73,9 @@ EOS
when 'him', 'her', 'it', 'that' when 'him', 'her', 'it', 'that'
if him = df.unit_find if him = df.unit_find
case him.race_tg.caste[him.caste].caste_id case him.race_tg.caste[him.caste].gender
when 'FEMALE'; puts 'its a she !' if race != 'her' when 0; puts 'its a she !' if race != 'her'
when 'MALE'; puts 'its a he !' if race != 'him' when 1; puts 'its a he !' if race != 'him'
else; puts 'its an it !' if race != 'it' and race != 'that' else; puts 'its an it !' if race != 'it' and race != 'that'
end end
slayit[him] slayit[him]