Fix #1744: disable commradio when unserviceable
This commit is contained in:
parent
81792bd6d0
commit
9e7c3c5c89
1 changed files with 1 additions and 1 deletions
|
@ -653,7 +653,7 @@ void CommRadioImpl::update(double dt)
|
||||||
}
|
}
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
if (false == (_power_btn)) {
|
if (false == (_power_btn) || false == (_serviceable)) {
|
||||||
_metarBridge->clearMetar();
|
_metarBridge->clearMetar();
|
||||||
_atis = "";
|
_atis = "";
|
||||||
_stationTTL = 0.0;
|
_stationTTL = 0.0;
|
||||||
|
|
Loading…
Reference in a new issue