Skip to content

Commit

Permalink
fix the api here too
Browse files Browse the repository at this point in the history
  • Loading branch information
doy committed Jul 7, 2013
1 parent 47d9fcd commit 68040fd
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions lib/TAEB/AI/Behavioral/Personality.pm
Expand Up @@ -328,9 +328,9 @@ sub want_drop {
$should_drop = $drop if $drop > $should_drop;
}

return $should_drop >= $item->quantity ? 1 :
return $should_drop >= $item->quantity ? 'all' :
$should_drop <= 0 ? 0 :
\$should_drop;
$should_drop;
}

sub respond_genocide_species { "soldier ant\n" }
Expand Down

0 comments on commit 68040fd

Please sign in to comment.