mirror of
https://github.com/acemod/ACE3.git
synced 2024-08-30 18:23:18 +00:00
Merge pull request #1450 from acemod/fixProgressbarDeath
Progress bar stops on death
This commit is contained in:
commit
89dfd8be17
@ -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 {
|
||||
|
Loading…
Reference in New Issue
Block a user