1
0
Fork 0

Fix #1744: disable commradio when unserviceable

This commit is contained in:
Gijs de Rooy 2016-01-25 16:38:57 +01:00
parent 81792bd6d0
commit 9e7c3c5c89

View file

@ -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;