Skip to content

Commit

Permalink
fixes a two for one deal in the outfit sanity test (less runtimes) (t…
Browse files Browse the repository at this point in the history
  • Loading branch information
mc-oofert authored Feb 25, 2024
1 parent 72949f2 commit cd69473
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 cd69473

Please sign in to comment.