Medical Treatement - Don't allow conscious patients to be buried (#9448)

Don't allow conscious patients to be buried
This commit is contained in:
Drofseh 2023-09-30 08:32:06 -07:00 committed by GitHub
parent 6cebdd8fef
commit dbf288851e
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -20,4 +20,4 @@ params ["_medic", "_patient"];
if !(["ace_trenches"] call EFUNC(common,isModLoaded)) exitWith {false};
(GVAR(allowGraveDigging) > 0) && {_patient call EFUNC(common,canDig)} && {_medic call EFUNC(trenches,hasEntrenchingTool)}
(GVAR(allowGraveDigging) > 0) && {!(_patient call EFUNC(common,isAwake))} && {_patient call EFUNC(common,canDig)} && {_medic call EFUNC(trenches,hasEntrenchingTool)}