Fixed docked subs being moved twice when syncing sub position

This commit is contained in:
Regalis
2017-01-26 19:04:26 +02:00
parent 15b3dd31a8
commit fb1f90e226
-1
View File
@@ -201,7 +201,6 @@ namespace Barotrauma
{ {
//clear the position buffer of the docked sub to prevent unnecessary position corrections //clear the position buffer of the docked sub to prevent unnecessary position corrections
dockedSub.SubBody.memPos.Clear(); dockedSub.SubBody.memPos.Clear();
subsToMove.Add(dockedSub);
} }
Submarine closestSub = null; Submarine closestSub = null;