Skip to content

Commit

Permalink
[MIRROR] fixes riding mobs through space (#2585)
Browse files Browse the repository at this point in the history
* fixes riding mobs through space (#83345)

## About The Pull Request
this fixes being able to ride all mobs through space, apart from things
which actually can like carps

## Why It's Good For The Game
fixes being able to ride all mobs through space

## Changelog
:cl:
fix:  fixes being able to ride all mobs through space
/:cl:

* fixes riding mobs through space

---------

Co-authored-by: Ben10Omintrix <[email protected]>
Co-authored-by: NovaBot13 <[email protected]>
  • Loading branch information
3 people authored and StealsThePRs committed May 20, 2024
1 parent 87c2e72 commit 6b29f93
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/datums/components/riding/riding_mob.dm
Original file line number Diff line number Diff line change
Expand Up @@ -103,7 +103,7 @@
return ..()

/datum/component/riding/creature/driver_move(atom/movable/movable_parent, mob/living/user, direction)
if(!COOLDOWN_FINISHED(src, vehicle_move_cooldown))
if(!COOLDOWN_FINISHED(src, vehicle_move_cooldown) || !Process_Spacemove())
return COMPONENT_DRIVER_BLOCK_MOVE
if(!keycheck(user))
if(ispath(keytype, /obj/item))
Expand Down

0 comments on commit 6b29f93

Please sign in to comment.