Skip to content

Commit

Permalink
Fix electra anomalies not adhering to the anomaly_ignore flag (#27)
Browse files Browse the repository at this point in the history
  • Loading branch information
diwako authored Nov 3, 2024
1 parent 7796e6d commit 2ebfd17
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion addons/main/functions/anomalies/fn_activateElectra.sqf
Original file line number Diff line number Diff line change
Expand Up @@ -125,7 +125,7 @@ if (hasInterface) then {

[{
params ["_plr", "_in", "_trg"];
if (_in) then {
if (_in && !(_plr getVariable ["anomaly_ignore", false])) then {
["electra", _plr] call FUNC(addUnitDamage);
};

Expand Down

0 comments on commit 2ebfd17

Please sign in to comment.