(1036993d3) Adjusted motion detector in autodoors
This commit is contained in:
@@ -17,6 +17,8 @@ namespace Barotrauma.Items.Components
|
||||
Passive
|
||||
};
|
||||
|
||||
private bool dynamicDockingIndicator = true;
|
||||
|
||||
private bool unsentChanges;
|
||||
private float networkUpdateTimer;
|
||||
|
||||
@@ -653,7 +655,7 @@ namespace Barotrauma.Items.Components
|
||||
|
||||
Vector2 dockingDir = sourcePortPos - targetPortPos;
|
||||
Vector2 normalizedDockingDir = Vector2.Normalize(dockingDir);
|
||||
if (!DynamicDockingIndicator)
|
||||
if (!dynamicDockingIndicator)
|
||||
{
|
||||
if (steering.DockingSource.IsHorizontal)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user