213 {
214 super.OnEndServer(action_data);
215
217 if (!poActionData || !poActionData.m_MainItem)
218 return;
219
221 {
223 poActionData.m_MainItem.SetIsBeingPlaced(false);
224
226 {
227 poActionData.m_Player.PlacingCancelServer();
228 }
229 else
230 {
231
232 poActionData.m_Player.PlacingCancelLocal();
233 poActionData.m_Player.PlacingCancelServer();
234 }
235 }
236 else
237 {
238 if (poActionData.m_MainItem.IsBasebuildingKit())
239 {
240 poActionData.m_MainItem.Delete();
241 }
242 else
243 {
245 }
246 }
247
248 if (poActionData.m_MainItem.GetLoopDeploySoundset() != string.Empty)
249 poActionData.m_MainItem.StopItemSoundServer(SoundConstants.ITEM_DEPLOY_LOOP);
250 }
bool ClearJunctureEx(Man player, notnull EntityAI item)
proto native CGame GetGame()