Skip to content

Commit

Permalink
bugfix: firemanned people are can no longer be teleported when buckled (
Browse files Browse the repository at this point in the history
#6058)

* Update ridable.dm

* ммм

* Update code/datums/elements/ridable.dm

Co-authored-by: Den109G <[email protected]>

---------

Co-authored-by: Den109G <[email protected]>
  • Loading branch information
NightDawnFox and Den109G authored Oct 23, 2024
1 parent a70d107 commit 054697a
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions code/datums/elements/ridable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -195,8 +195,8 @@
return
return rider

/obj/item/riding_offhand/afterattack(atom/movable/interacting_with, mob/living/user, list/modifiers)
if(!istype(interacting_with) || !interacting_with.can_buckle)
/obj/item/riding_offhand/afterattack(atom/movable/interacting_with, mob/living/user, proximity, list/modifiers, status)
if(!istype(interacting_with) || !interacting_with.can_buckle || !proximity)
return NONE
if(rider == user) // Piggyback user
return
Expand Down

0 comments on commit 054697a

Please sign in to comment.