diff --git a/NebulaClient/PacketProcessors/Factory/Foundation/FoundationBuildUpdateProcessor.cs b/NebulaClient/PacketProcessors/Factory/Foundation/FoundationBuildUpdateProcessor.cs index c356522aa..170b425f5 100644 --- a/NebulaClient/PacketProcessors/Factory/Foundation/FoundationBuildUpdateProcessor.cs +++ b/NebulaClient/PacketProcessors/Factory/Foundation/FoundationBuildUpdateProcessor.cs @@ -29,8 +29,10 @@ public void ProcessPacket(FoundationBuildUpdatePacket packet, NebulaConnection c { factory.platformSystem.InitReformData(); } - + + FactoryManager.TargetPlanet = packet.PlanetId; FactoryManager.AddPlanetTimer(packet.PlanetId); + FactoryManager.TargetPlanet = FactoryManager.PLANET_NONE; int reformPointsCount = factory.planet.aux.ReformSnap(packet.GroundTestPos.ToVector3(), packet.ReformSize, packet.ReformType, packet.ReformColor, reformPoints, packet.ReformIndices, factory.platformSystem, out reformCenterPoint); factory.ComputeFlattenTerrainReform(reformPoints, reformCenterPoint, packet.Radius, reformPointsCount, 3f, 1f);