Skip to content

Commit

Permalink
[MIRROR] fixes a two for one deal in the outfit sanity test (less run…
Browse files Browse the repository at this point in the history
…times) (#1132)

* fixes a two for one deal in the outfit sanity test (less runtimes) (#81645)

## About The Pull Request


![image](https://github.com/tgstation/tgstation/assets/70376633/ac833396-b6ee-4cbc-8226-b15e90cc3db1)
this is dumb


## Why It's Good For The Game

i think that was a bug

![image](https://github.com/tgstation/tgstation/assets/70376633/40081a6f-54e9-42ee-92be-e3349fc389ae)


## Changelog

* fixes a two for one deal in the outfit sanity test (less runtimes)

---------

Co-authored-by: jimmyl <[email protected]>
  • Loading branch information
2 people authored and StealsThePRs committed Feb 25, 2024
1 parent 56d4faa commit b463890
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion code/modules/unit_tests/outfit_sanity.dm
Original file line number Diff line number Diff line change
Expand Up @@ -5,7 +5,9 @@
if (!outfit_item) { \
TEST_FAIL("[outfit.name]'s [#outfit_key] is invalid! Could not equip a [outfit.##outfit_key] into that slot."); \
} \
outfit_item.on_outfit_equip(H, FALSE, ##slot_name); \
else { \
outfit_item.on_outfit_equip(H, FALSE, ##slot_name); \
} \
}

/// See #66313 and #60901. outfit_sanity used to runtime whenever you had two mergable sheets in either hand. Previously, this only had a 3% chance of occuring. Now 100%.
Expand Down

0 comments on commit b463890

Please sign in to comment.