Skip to content

Commit

Permalink
[MIRROR] Fixes incorrect operator usage in mecha code (#1920)
Browse files Browse the repository at this point in the history
* Fixes incorrect operator usage in mecha code (#82570)

## About The Pull Request

I completely screwed up and told the original PR author of #82415
(9922d2f2377c3ab571d34c857174c45f5521a5ae) to use the `XOR` operator
instead of the `OR` operator (I wasn't thinking right for some reason
when I was reading the ref), anyways this PR just fixes that because I
misled the contributor into doing something that wasn't correct and
actually would BREAK functionality instead.

* Fixes incorrect operator usage in mecha code

---------

Co-authored-by: san7890 <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Apr 11, 2024
1 parent 2fee5e4 commit 4ff29cd
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/vehicles/mecha/_mecha.dm
Original file line number Diff line number Diff line change
Expand Up @@ -272,7 +272,7 @@
/// If the former occupants get polymorphed, mutated, chestburstered,
/// or otherwise replaced by another mob, that mob is no longer in .occupants
/// and gets deleted with the mech. However, they do remain in .contents
var/list/potential_occupants = contents ^ occupants
var/list/potential_occupants = contents | occupants
for(var/mob/buggy_ejectee in potential_occupants)
mob_exit(buggy_ejectee, silent = TRUE)

Expand Down

0 comments on commit 4ff29cd

Please sign in to comment.