From 6d3bf3b855506755b175a73f5df2cd7cc9ea355f Mon Sep 17 00:00:00 2001 From: ebaydayz Date: Sat, 9 Apr 2016 20:36:36 -0400 Subject: [PATCH] Fix object_monitorGear with R3F disabled --- SQF/dayz_code/compile/object_monitorGear.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/SQF/dayz_code/compile/object_monitorGear.sqf b/SQF/dayz_code/compile/object_monitorGear.sqf index 017a07d6d..7f33bf4fe 100644 --- a/SQF/dayz_code/compile/object_monitorGear.sqf +++ b/SQF/dayz_code/compile/object_monitorGear.sqf @@ -103,7 +103,7 @@ if (!(isNull (findDisplay 106))) then { (_display displayCtrl (_imageIDCs select _i)) ctrlShow false; (_display displayCtrl (_valueIDCs select _i)) ctrlShow false; }; - if (isNull _object) then { + if (DZE_R3F_WEIGHT && {isNull _object}) then { while {!(isNull (findDisplay 106))} do { R3F_Weight = call R3F_WEIGHT_FNCT_GetWeight; _control = _display displayCtrl 156;