Skip to content

Commit

Permalink
Fix fugitive victory check (#3476)
Browse files Browse the repository at this point in the history
* fix fugitive victory check

* Update code/modules/antagonists/fugitive/hunters/hunter.dm

Co-authored-by: Lucy <[email protected]>

---------

Co-authored-by: Lucy <[email protected]>
  • Loading branch information
PotatoTomahto and Absolucy authored Sep 20, 2024
1 parent 0bd982b commit e5a786a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/antagonists/fugitive/hunters/hunter.dm
Original file line number Diff line number Diff line change
Expand Up @@ -124,7 +124,7 @@
else//from here on out, hunters lost because they did not capture any fugitive dead or alive. there are different levels of getting beat though:
if(!fugitives_dead)//all fugitives survived
return FUGITIVE_RESULT_MAJOR_FUGITIVE
else if(fugitives_dead < fugitives_counted)//at least ANY fugitive lived
else if(length(fugitives_dead) < length(fugitives_counted))//at least ANY fugitive lived
return FUGITIVE_RESULT_FUGITIVE_VICTORY
else if(!hunters_dead)//all fugitives died, but none were taken in by the hunters. minor win
return FUGITIVE_RESULT_MINOR_FUGITIVE
Expand Down

0 comments on commit e5a786a

Please sign in to comment.