Fixes the jetpacks not working in suit storage (#20001)

See title.
This commit is contained in:
Snowy1237
2024-10-06 21:21:22 +00:00
committed by GitHub
parent ff8ff7389a
commit 1b4a336704
2 changed files with 60 additions and 0 deletions
@@ -14,6 +14,8 @@
// Skip sanity check for H.back, as istype can safely handle a null.
if (istype(H.back, /obj/item/tank/jetpack))
return H.back
else if (istype(H.s_store, /obj/item/tank/jetpack))
return H.s_store
else if (istype(H.back, /obj/item/rig))
var/obj/item/rig/rig = H.back
for (var/obj/item/rig_module/maneuvering_jets/module in rig.installed_modules)