Skip to content

Commit 1fc605d

Browse files
committed
Converted other paramsArray calls to BIS_FNC
1 parent 470a359 commit 1fc605d

File tree

1 file changed

+3
-4
lines changed

1 file changed

+3
-4
lines changed

source/INIT.sqf

Lines changed: 3 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -24,11 +24,10 @@ if (!isMultiplayer) then {
2424
if (isMultiplayer) then {
2525

2626
// Get the variables from the parameters lobby
27-
_revive_activated = paramsArray select 0; // Revives, true or false
28-
DUWSMP_CP_death_cost = paramsArray select 1;
29-
30-
// Setup stamina system
27+
_revive_activated = ["Revive", 1] call BIS_fnc_getParamValue;
28+
DUWSMP_CP_death_cost = ["DeathPenalty", 1] call BIS_fnc_getParamValue;
3129
staminaEnabled = ["Stamina", 0] call BIS_fnc_getParamValue;
30+
3231
if(staminaEnabled == 0) then {
3332
staminaEnabled = false;
3433
} else {

0 commit comments

Comments
 (0)