Merge pull request #4382 from acemod/onlyTheDeadHaveSeenTheEndOfFatigue

Exit fatiuge loop when dead (don't play breathing sound)
This commit is contained in:
BaerMitUmlaut 2016-09-12 14:04:18 +02:00 committed by GitHub
commit 08c995096b

View File

@ -9,7 +9,7 @@
* None
*/
#include "script_component.hpp"
if (isNull ACE_player) exitWith {}; // Map intros
if (!alive ACE_player) exitWith {}; // Dead people don't breath, Will also handle null (Map intros)
private _currentWork = REE;
private _currentSpeed = (vectorMagnitude (velocity ACE_player)) min 6;