mirror of
https://github.com/soarqin/DSP_Mods.git
synced 2026-11-19 17:05:20 +08:00
fix distance
This commit is contained in:
1 parent
f0ee1aaea9
commit
60d14c9401
1 file changed
+1
-1
@@ -1514,7 +1514,7 @@ public class FactoryPatch : PatchImpl<FactoryPatch>
|
|||||||
OldDragBuild.Add(prefabDesc.dragBuild);
|
OldDragBuild.Add(prefabDesc.dragBuild);
|
||||||
OldDragBuildDist.Add(prefabDesc.dragBuildDist);
|
OldDragBuildDist.Add(prefabDesc.dragBuildDist);
|
||||||
prefabDesc.dragBuild = true;
|
prefabDesc.dragBuild = true;
|
||||||
var distance = prefabDesc.powerConnectDistance - 0.72f;
|
var distance = prefabDesc.powerConnectDistance - 0.8f;
|
||||||
prefabDesc.dragBuildDist = new Vector2(distance, distance);
|
prefabDesc.dragBuildDist = new Vector2(distance, distance);
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in new issue
Block a user