From 6d9c145bcaca27e6dbb1a72d6be8de6f26b162cc Mon Sep 17 00:00:00 2001 From: Grahame Date: Sat, 28 Oct 2017 15:04:58 -0400 Subject: [PATCH] Update init.sqf Added the reading of radiationEffectsThreshold variable from CfgEpochClient.hpp --- Sources/epoch_code/compile/setup/masterLoop/init.sqf | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Sources/epoch_code/compile/setup/masterLoop/init.sqf b/Sources/epoch_code/compile/setup/masterLoop/init.sqf index a78a8759..6cd5cf6d 100644 --- a/Sources/epoch_code/compile/setup/masterLoop/init.sqf +++ b/Sources/epoch_code/compile/setup/masterLoop/init.sqf @@ -102,6 +102,8 @@ if (isNil "EPOCH_display_setup_complete") then { // Background radiation _outOfBoundsRadiation = ["CfgEpochClient", "outOfBoundsRadiation", 10] call EPOCH_fnc_returnConfigEntryV2; _radsLevel = 0; +// Radiation screen effects threshold +_radiationEffectsThreshold = ["CfgEpochClient", "radiationEffectsThreshold", 10] call EPOCH_fnc_returnConfigEntryV2; _prevEquippedItem = []; _damagePlayer = damage player;