Merge pull request #7544 from acemod/fix-unconscious-interact

Common - Add isNotUnconscious canInteractWith condition
This commit is contained in:
commy2 2020-02-22 23:12:08 +01:00 committed by GitHub
commit f7a880e81b
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -387,6 +387,11 @@ addMissionEventHandler ["PlayerViewChanged", {
["isNotInZeus", {isNull curatorCamera}] call FUNC(addCanInteractWithCondition);
["isNotUnconscious", {
params ["_unit"];
lifeState _unit != "INCAPACITATED"
}] call FUNC(addCanInteractWithCondition);
//////////////////////////////////////////////////
// Set up reload mutex
//////////////////////////////////////////////////