Merge pull request #4548 from Citadel-Station-13/upstream-merge-33782

[MIRROR] Fixed shuttle docking computers not working more than once
This commit is contained in:
LetterJay
2017-12-27 03:03:33 -06:00
committed by GitHub
+2 -1
View File
@@ -119,7 +119,7 @@
return
if(!my_port)
my_port = new(locate(eyeobj.x - x_offset, eyeobj.y - y_offset, eyeobj.z))
my_port = new()
my_port.name = shuttlePortName
my_port.id = shuttlePortId
my_port.height = shuttle_port.height
@@ -128,6 +128,7 @@
my_port.dwidth = shuttle_port.dwidth
my_port.hidden = shuttle_port.hidden
my_port.dir = the_eye.dir
my_port.forceMove(locate(eyeobj.x - x_offset, eyeobj.y - y_offset, eyeobj.z))
if(current_user.client)
current_user.client.images -= the_eye.placed_images