Skip to content

Commit

Permalink
Update smartgun_mount.dm
Browse files Browse the repository at this point in the history
Made move into step
  • Loading branch information
Awantje committed Jul 19, 2023
1 parent c8b5d0d commit 01e144d
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.Move(get_step(src, reverse_direction(src.dir)))
step(user, 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 01e144d

Please sign in to comment.