mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-22 05:25:15 +01:00
Fixes a spacewalking runtime
This commit is contained in:
@@ -11,7 +11,7 @@
|
||||
|
||||
// Do we have a jetpack (and is it on)?
|
||||
var/obj/item/weapon/tank/jetpack/J = back
|
||||
if(!istype(J))
|
||||
if(!istype(J) && istype(wear_suit, /obj/item/clothing/suit/space/hardsuit))
|
||||
var/obj/item/clothing/suit/space/hardsuit/C = wear_suit
|
||||
J = C.jetpack
|
||||
if(istype(J) && J.allow_thrust(0.01, src))
|
||||
|
||||
Reference in New Issue
Block a user