Skip to content

Commit

Permalink
Changes m56d exiting
Browse files Browse the repository at this point in the history
Makes the force move into a move proc that checks for collision.
  • Loading branch information
Awantje committed Jul 19, 2023
1 parent 4e704b0 commit c8b5d0d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion code/modules/cm_marines/smartgun_mount.dm
Original file line number Diff line number Diff line change
Expand Up @@ -906,7 +906,7 @@
user.visible_message(SPAN_NOTICE("[user] lets go of \the [src]."),SPAN_NOTICE("You let go of \the [src], letting the gun rest."))
user.unfreeze()
user.reset_view(null)
user.forceMove(get_step(src, reverse_direction(src.dir)))
user.Move(get_step(src, reverse_direction(src.dir)))
user.setDir(dir) //set the direction of the player to the direction the gun is facing
user_old_x = 0 //reset our x
user_old_y = 0 //reset our y
Expand Down

0 comments on commit c8b5d0d

Please sign in to comment.