From 686c252beb0649a3d9637ff426e4b8fe25f0fb05 Mon Sep 17 00:00:00 2001 From: BrettMayson Date: Sun, 14 Jan 2024 14:49:06 -0600 Subject: [PATCH] View Restriction - Handle thirdPersonView difficulty setting correctly (#9734) --- addons/viewrestriction/XEH_clientInit.sqf | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/addons/viewrestriction/XEH_clientInit.sqf b/addons/viewrestriction/XEH_clientInit.sqf index 21455af21b..1ed4f008da 100644 --- a/addons/viewrestriction/XEH_clientInit.sqf +++ b/addons/viewrestriction/XEH_clientInit.sqf @@ -19,7 +19,7 @@ if !(hasInterface) exitWith {}; }; // Exit if third person view is not available - if (difficultyOption "thirdPersonView" == 0) exitWith { + if (difficultyOption "thirdPersonView" != 1) exitWith { WARNING("View Restriction is enabled, but 3rd person is disabled with server difficulty."); };