Fixed docked subs being moved twice when syncing sub position
This commit is contained in:
@@ -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;
|
||||||
|
|||||||
Reference in New Issue
Block a user