public override void Close() { if (isActive) { base.Close(); buildManager.ChangeBuildingStatus(); } }