Skip to content

Commit

Permalink
[MIRROR] Fixes the deployable component rotating things it isnt suppo…
Browse files Browse the repository at this point in the history
…sed to (#1540)

* Fixes the deployable component rotating things it isnt supposed to (#80877)

---------

Co-authored-by: NovaBot <[email protected]>
Co-authored-by: Paxilmaniac <[email protected]>
Co-authored-by: NovaBot <[email protected]>
  • Loading branch information
4 people authored Jan 14, 2024
1 parent 3f88562 commit a8ca717
Showing 1 changed file with 1 addition and 3 deletions.
4 changes: 1 addition & 3 deletions code/datums/components/deployable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -76,10 +76,8 @@
new_direction = direction

deployed_object = new thing_to_be_deployed(deploy_location)
deployed_object.setDir(new_direction)

// Sets the direction of the resulting object if the variable says to
if(direction_setting)
deployed_object.setDir(new_direction)
deployed_object.update_icon_state()

deployments -= 1
Expand Down

0 comments on commit a8ca717

Please sign in to comment.