204 {
205 super.OnEndServer(action_data);
206
207 if (!action_data || !action_data.m_MainItem)
208 return;
209
212 {
214 action_data.m_MainItem.SetIsBeingPlaced(false);
215
217 {
218 action_data.m_Player.PlacingCancelServer();
219 }
220 else
221 {
222
223 action_data.m_Player.PlacingCancelLocal();
224 action_data.m_Player.PlacingCancelServer();
225 }
226 }
227 else
228 {
229 if (action_data.m_MainItem.IsBasebuildingKit())
230 {
231 action_data.m_MainItem.Delete();
232 }
233 else
234 {
236 }
237 }
238
241 item.StopItemSoundServer(SoundConstants.ITEM_DEPLOY_LOOP);
242 }
bool ClearJunctureEx(Man player, notnull EntityAI item)
override string GetLoopDeploySoundset()
proto native CGame GetGame()
static const string Empty