mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-04-04 08:36:52 +08:00
Ref T717, simulator "is test" conditions where required
This commit is contained in:
committed by
Mat Sutcliffe
parent
a3959ffbea
commit
6151f434c6
@@ -325,6 +325,7 @@ namespace BlackSimPlugin
|
||||
|
||||
// remove the invalid ones
|
||||
int i = 0;
|
||||
if (this->isTestMode()) { invalid.clear(); } // skip this in test mode
|
||||
for (const CCallsign &cs : invalid)
|
||||
{
|
||||
this->triggerRemoveAircraft(cs, ++i * 100);
|
||||
|
||||
Reference in New Issue
Block a user