Skip to content

Commit

Permalink
Fix UPP Survivor Armour Spawn (#4296)
Browse files Browse the repository at this point in the history
# About the pull request

Fix UPP armour spawn code to ensure they spawn with either webbing or
armour at all times. Prior there was a chance a UPP surv could spawn
with neither armour or webbing.

# Explain why it's good for the game

Bug


# Testing Photographs and Procedure
<details>
<summary>Screenshots & Videos</summary>

Put screenshots and videos here with an empty line between the
screenshots and the `<details>` tags.

</details>


# Changelog
:cl:
fix: UPP survivors no longer have a small chance to accidently spawn
with no armour or external webbing.
/:cl:

---------

Co-authored-by: Steelpoint <[email protected]>
  • Loading branch information
Steelpoint and Steelpoint authored Sep 1, 2023
1 parent 4fec97e commit 6eed96c
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/gear_presets/_select_equipment.dm
Original file line number Diff line number Diff line change
Expand Up @@ -997,7 +997,7 @@ var/list/rebel_rifles = list(
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP (new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/marine/faction/UPP(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/tool/crowbar(new_human), WEAR_IN_JACKET)
if (4)
if (5)
new_human.equip_to_slot_or_del(new /obj/item/clothing/under/marine/veteran/UPP (new_human), WEAR_BODY)
new_human.equip_to_slot_or_del(new /obj/item/clothing/suit/storage/marine/faction/UPP/support(new_human), WEAR_JACKET)
new_human.equip_to_slot_or_del(new /obj/item/tool/crowbar(new_human), WEAR_IN_JACKET)
Expand Down

0 comments on commit 6eed96c

Please sign in to comment.