Update init.sqf

Added the reading of radiationEffectsThreshold variable from CfgEpochClient.hpp
This commit is contained in:
Grahame 2017-10-28 15:04:58 -04:00 committed by GitHub
parent e955e073f1
commit 6d9c145bca
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -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;