[MIRROR] Changes shuttle port direction var from an angle to a dir (#2613)

* Changes shuttle port direction var from an angle to a dir

* actually ports the directions

* Update shuttle.dm

* how
This commit is contained in:
CitadelStationBot
2017-09-13 20:39:55 -05:00
committed by Poojawa
parent f891eae65e
commit 82d0aae420
23 changed files with 623 additions and 305 deletions
+1 -1
View File
@@ -384,7 +384,7 @@ SUBSYSTEM_DEF(shuttle)
var/travel_dir = M.preferred_direction
// Remember, the direction is the direction we appear to be
// coming from
var/dock_angle = dir2angle(M.preferred_direction) + M.port_angle + 180
var/dock_angle = dir2angle(M.preferred_direction) + dir2angle(M.port_direction) + 180
var/dock_dir = angle2dir(dock_angle)
var/transit_width = SHUTTLE_TRANSIT_BORDER * 2