From d05eafa80e5f246b1920e9bee053ac17dbc3111b Mon Sep 17 00:00:00 2001 From: Kex Date: Wed, 11 Dec 2024 19:03:00 +0100 Subject: [PATCH] Trenches - Fix orientation of built trenches (#112) Remove duplicate SnapAndOrient --- .../Building/SCR_CampaignBuildingNetworkComponent.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/addons/trenches/scripts/Game/ACE_Trenches/Building/SCR_CampaignBuildingNetworkComponent.c b/addons/trenches/scripts/Game/ACE_Trenches/Building/SCR_CampaignBuildingNetworkComponent.c index e78c39c7..86f43402 100644 --- a/addons/trenches/scripts/Game/ACE_Trenches/Building/SCR_CampaignBuildingNetworkComponent.c +++ b/addons/trenches/scripts/Game/ACE_Trenches/Building/SCR_CampaignBuildingNetworkComponent.c @@ -22,7 +22,6 @@ modded class SCR_CampaignBuildingNetworkComponent : ScriptComponent EntitySpawnParams params = new EntitySpawnParams(); params.TransformMode = ETransformMode.WORLD; params.Transform = transform; - SCR_TerrainHelper.SnapAndOrientToTerrain(params.Transform); // Forces to spawn as buildable SCR_EditorLinkComponent.IgnoreSpawning(true); @@ -40,4 +39,4 @@ modded class SCR_CampaignBuildingNetworkComponent : ScriptComponent compositionComponent.SetBuilderId(playerController.GetPlayerId()); } -} \ No newline at end of file +}