RF455-172 MAU Destruction
rf455 v0.6.0, MAU hull after destruction. When a MAU is destroyed, unitHullTakeDamage saves its gauge as 0, but handleUnitTake (17/11, boarding) refills a gauge of 0 with unitframe m_nUnit_HP, so a destroyed MAU is back at full hull the next time it is boarded. In the original, a destroyed MAU stays at 0 and can only be brought back by the MAU Manager repair (17/07, unitRepairPrice, which already charges m_nDesrepPrice for a wreck). Please either keep the saved gauge on boarding (fill from m_nUnit_HP only when the machine is first bought), or add a server_config switch such as unit.refill_on_board (default 0 = original behaviour). Also please refuse the call (17/0D) and the boarding (17/11) while the gauge is 0, with a result code the client can show.