Skip to content

Commit

Permalink
cleanup reminders
Browse files Browse the repository at this point in the history
  • Loading branch information
PabstMirror authored Sep 24, 2024
1 parent fa99bfe commit 9150970
Show file tree
Hide file tree
Showing 6 changed files with 6 additions and 6 deletions.
2 changes: 1 addition & 1 deletion addons/common/XEH_postInit.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -197,7 +197,7 @@ if (isServer) then {

[QGVAR(unlockVehicle), {
_this lock (_this getVariable [QGVAR(lockStatus), locked _this]);
if ([] isNotEqualTo getArray (configOf _this >> "assembleInfo" >> "dissasembleTo")) then { // double check
if ([] isNotEqualTo getArray (configOf _this >> "assembleInfo" >> "dissasembleTo")) then {
[_this, "disableWeaponAssembly", QGVAR(lockVehicle), false] call FUNC(statusEffect_set);
};
}] call CBA_fnc_addEventHandler;
Expand Down
2 changes: 1 addition & 1 deletion addons/common/functions/fnc_checkFiles.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -144,7 +144,7 @@ if (isMultiplayer) then {
publicVariable QGVAR(serverAddons);
publicVariable QGVAR(serverSource);
} else {
GVAR(clientVersion) = _mainVersion; // double check
GVAR(clientVersion) = _mainVersion;
GVAR(clientAddons) = _addons;

private _fnc_check = {
Expand Down
2 changes: 1 addition & 1 deletion addons/cookoff/functions/fnc_cookOffServer.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -199,4 +199,4 @@ if (_delayBetweenSmokeAndFire) then {
}, [_vehicle, _selections, _ammoDetonationChance, _detonateAfterCookoff, _source, _instigator, _fireSelection, _canRing, _canJet, _smokeJipID, _fireJipID], _delay] call CBA_fnc_waitAndExecute;

// API
[QGVAR(cookoff), [_vehicle, _intensity, _instigator, _delayBetweenSmokeAndFire, _ammoDetonationChance, _detonateAfterCookoff, _fireSelection, _canRing, _maxIntensity, _canJet]] call CBA_fnc_globalEvent; // double check
[QGVAR(cookoff), [_vehicle, _intensity, _instigator, _delayBetweenSmokeAndFire, _ammoDetonationChance, _detonateAfterCookoff, _fireSelection, _canRing, _maxIntensity, _canJet]] call CBA_fnc_globalEvent;
2 changes: 1 addition & 1 deletion addons/goggles/functions/fnc_applyDustEffect.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -57,7 +57,7 @@ GVAR(DustHandler) = [{

private _amount = 1 - (GETDUSTT(DAMOUNT) * 0.125);

if !(ACE_player getVariable ["ACE_EyesDamaged", false]) then { // double check
if !(ACE_player getVariable ["ACE_EyesDamaged", false]) then {
GVAR(PostProcessEyes) ppEffectAdjust [1, 1, 0, [0, 0, 0, 0], [_amount, _amount, _amount, _amount], [1, 1, 1, 0]];
GVAR(PostProcessEyes) ppEffectCommit 0.5;
};
Expand Down
2 changes: 1 addition & 1 deletion addons/grenades/functions/fnc_flashbangExplosionEH.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -113,7 +113,7 @@ if (["ace_hearing"] call EFUNC(common,isModLoaded) && {_strength > 0} && {EGVAR(
};

// Add ace_medical pain effect
if (GETEGVAR(medical,enabled,false) && {_strength > 0.1} && {isDamageAllowed ACE_player} && {ACE_player getVariable [QEGVAR(medical,allowDamage), true]}) then { // double check
if (GETEGVAR(medical,enabled,false) && {_strength > 0.1} && {isDamageAllowed ACE_player} && {ACE_player getVariable [QEGVAR(medical,allowDamage), true]}) then {
[ACE_player, _strength / 2] call EFUNC(medical,adjustPainLevel);
};

Expand Down
2 changes: 1 addition & 1 deletion addons/grenades/functions/fnc_incendiary.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -202,7 +202,7 @@ if (isServer) then {
{EGVAR(cookoff,ammoCookoffDuration) != 0} &&
{_x getVariable [QEGVAR(cookoff,enableAmmoCookoff), true]}
) then {
[QEGVAR(cookOff,cookOffBoxServer), _x] call CBA_fnc_serverEvent; // double check
[QEGVAR(cookOff,cookOffBoxServer), _x] call CBA_fnc_serverEvent;
} else {
_x setDamage 1;
};
Expand Down

0 comments on commit 9150970

Please sign in to comment.