Progress bar stops on death - fix for #1449

This commit is contained in:
Glowbal 2015-05-31 09:23:36 +02:00
parent 23d300df52
commit 0b8896239c

View File

@ -60,7 +60,7 @@ _perFrameFunction = {
if (isNull (uiNamespace getVariable [QGVAR(ctrlProgressBar), controlNull])) then {
_errorCode = 1;
} else {
if (ACE_player != _player) then {
if (ACE_player != _player || !alive _player) then {
_errorCode = 2;
} else {
if (!([_args, _elapsedTime, _totalTime, _errorCode] call _condition)) then {