Skip to content

Commit

Permalink
Merge pull request Skyrat-SS13#29243 from Skyrat-SS13/upstream-merge-…
Browse files Browse the repository at this point in the history
…85671

[MIRROR] Fixed Charlie MOD installer not installing MODsuits unless you have a backpack to drop
  • Loading branch information
projectkepler-ru authored Aug 9, 2024
2 parents 509c4d8 + 3a65051 commit 69982e3
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -64,7 +64,7 @@
var/mob/living/carbon/human/human_occupant = occupant
if(!istype(human_occupant))
return
if(!human_occupant.dropItemToGround(human_occupant.back))
if(!isnull(human_occupant.back) && !human_occupant.dropItemToGround(human_occupant.back))
return
if(!human_occupant.equip_to_slot_if_possible(mod_unit, mod_unit.slot_flags, qdel_on_fail = FALSE, disable_warning = TRUE))
return
Expand Down

0 comments on commit 69982e3

Please sign in to comment.