Skip to content

Frag - Fix Spall not triggering for helicopter pilots due to _gunner null issue#11160

Merged
PabstMirror merged 1 commit intoacemod:masterfrom
Kitanagoya5381-ARMA3:frag-fix-spall-null-gunner-check
Dec 8, 2025
Merged

Frag - Fix Spall not triggering for helicopter pilots due to _gunner null issue#11160
PabstMirror merged 1 commit intoacemod:masterfrom
Kitanagoya5381-ARMA3:frag-fix-spall-null-gunner-check

Conversation

@Hotel2622
Copy link
Copy Markdown
Contributor

When merged this pull request will:

  • Add proper nil/null check for _gunner to fix Spall not triggering when firing from the pilot seat of helicopters.

Note

  • When firing from the pilot seat of helicopters, _gunner is <NULL-object>, which caused the spall fired handler to exit early.

First, I tried:

isNil "_gunner" || isNull _gunner

but it did not work, so I changed it to:

(isNil "_gunner") || {isNull _gunner}

Visual Demonstration

IMPORTANT

  • This change affects the Frag module behavior for vehicles, specifically helicopters, but does not affect documentation.
  • Development guidelines for ACE3 have been followed.

@PabstMirror PabstMirror added the kind/bug-fix Release Notes: **FIXED:** label Dec 8, 2025
@PabstMirror PabstMirror added this to the 3.20.2 milestone Dec 8, 2025
@PabstMirror PabstMirror merged commit a299de4 into acemod:master Dec 8, 2025
3 checks passed
@Hotel2622 Hotel2622 deleted the frag-fix-spall-null-gunner-check branch December 10, 2025 11:38
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

kind/bug-fix Release Notes: **FIXED:**

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants