Fixes some bitrunning bugs [NO GBP] (#79332)

## About The Pull Request
Atomized bug fix PR from the content patch. They seemed to be priority
## Why It's Good For The Game
Fixes #79329
Fixes #79164
Fixes #79289

## Changelog
🆑
fix: Paraplegics can now enter netpods.
fix: Fixes an exploit caused by teleporting out of a netpod.
fix: Outfit selection at netpods shouldn't give armor bonuses any
longer.
/🆑
This commit is contained in:
Jeremiah
2023-10-31 13:47:25 +00:00
committed by GitHub
parent d75b193451
commit 918e4faeb1
2 changed files with 27 additions and 12 deletions
@@ -8,15 +8,21 @@
to_wear.belt = /obj/item/bitrunning_host_monitor
to_wear.glasses = null
to_wear.gloves = null
to_wear.l_hand = null
to_wear.l_pocket = null
to_wear.r_hand = null
to_wear.r_pocket = null
to_wear.suit = null
to_wear.suit_store = null
avatar.equipOutfit(to_wear, visualsOnly = TRUE)
var/obj/item/clothing/under/jumpsuit = avatar.w_uniform
if(istype(jumpsuit))
jumpsuit.set_armor(/datum/armor/clothing_under)
var/obj/item/clothing/head/hat = avatar.get_clothing_on_part(HEAD)
if(istype(hat))
hat.set_armor(null)
var/thing = avatar.get_active_held_item()
if(!isnull(thing))
qdel(thing)