mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #3527 from acemod/fixHrCallbackVar
Fix empty callback for hr adjustment
This commit is contained in:
commit
8946779c1a
@ -64,6 +64,7 @@ if (isNil _hrCallback) then {
|
||||
} else {
|
||||
_hrCallback = missionNamespace getVariable _hrCallback;
|
||||
};
|
||||
if (!(_hrCallback isEqualType {})) then {_hrCallback = {TRACE_1("callback was NOT code",_hrCallback)};};
|
||||
|
||||
// Adjust the heart rate based upon config entry
|
||||
_heartRate = _target getVariable [QGVAR(heartRate), 70];
|
||||
|
Loading…
Reference in New Issue
Block a user