Skip to content

Commit

Permalink
Ensure killing a mush won't lead other humans to suspect on you
Browse files Browse the repository at this point in the history
  • Loading branch information
wallabra committed Dec 1, 2023
1 parent 0baf9b8 commit 653427b
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 0 deletions.
4 changes: 4 additions & 0 deletions Classes/MushMatchMutator.uc
Original file line number Diff line number Diff line change
Expand Up @@ -290,6 +290,10 @@ function bool BasicWitnessSuspect(Pawn Victim, Pawn InstigatedBy, Pawn Witness)
return false;
}

if (Victim.Health <= 0 && VictPRL.bMush && !WitPRL.bMush) {
return false;
}

if (WitPRL.bDead || InstigPRL.bDead || VictPRL.bDead) {
return false;
}
Expand Down
1 change: 1 addition & 0 deletions latest-changes.md
Original file line number Diff line number Diff line change
Expand Up @@ -5,3 +5,4 @@ Implemented changes in Mush Match **v1.3.4** listed below.
* Make the scoring of a kill propagate to the killed's suspector when applicable
* Fix score voided when infecting as mush and triggering match end
* Tweak default chances for individual suspicion
* Ensure killing a mush won't lead other humans to suspect on you

0 comments on commit 653427b

Please sign in to comment.