Removed the miner's resource node cleaning up code because the field is not
existing anymore and was causing a crash (and we don't need this code anymore)
Improving the performance by reducing the number of calls to FindChild() method
Add the vehicles and beams as the dismantle target object
Note: The buildings' items refund code is also not working anymore because the field mDismantleRefund is not existing anymore. I think it's not trivial to calculate the refund items manually because for some buildings like conveyors and pipes we need to manually calculate the length and calculate the number of the items to refund...
Note: The buildings' items refund code is also not working anymore because the field
mDismantleRefund
is not existing anymore. I think it's not trivial to calculate the refund items manually because for some buildings like conveyors and pipes we need to manually calculate the length and calculate the number of the items to refund...