mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-30 00:29:02 +01:00
[MIRROR] Fixes some bitrunning bugs [NO GBP] [MDB IGNORE] (#24682)
* 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. /🆑 * Fixes some bitrunning bugs [NO GBP] --------- Co-authored-by: Jeremiah <42397676+jlsnow301@users.noreply.github.com>
This commit is contained in:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user