Skip to content

Airstrike=yes Crash the game #1826

@yawnallday

Description

@yawnallday

Description

From vanilla:
Weapons with Airstrike=true on Warhead will now check target eligibility for airstrikes regardless of weapon slot. Use AirstrikeTargets=all on Primary airstrike weapon Warhead to restore previous behaviour.
But,Use AirstrikeTargets=all on Primary airstrike weapon Warhead will Crash the game.

Phobos Version

Latest development branch nightly:2025.8.9

Conditions to reproduce

No response

INI code

[BORIS]
Primary=Flare
Secondary=AKM

[Flare]
Warhead=AirstrikeFlare

[AirstrikeFlare]
Verses=0%,0%,0%,0%,0%,0%,1%,1%,1%,0%,0%
Airstrike=yes
AirstrikeTargets=all

[AKM]
Warhead=BORISWH

[BORISWH]
Verses=200%,200%,100%,50%,50%,50%,1%,1%,1%,100%,100%

Steps to reproduce

1.if Primary=Flare:
[AirstrikeFlare]
Airstrike=yes
AirstrikeTargets=all ;or AirstrikeTargets=buildings
the game Crash .
2.if Do nothing:Primary=AKM,Secondary=Flare,SecondaryWeapon Not working.
3.IfPrimary=AKM,Secondary=Flare,
[BORISWH]
Verses=200%,200%,100%,50%,50%,50%,0%,0%,0%,100%,100%
the game Crash.

Expected behaviour

Weapons with Airstrike=true Work.

Actual behaviour

Weapons with Airstrike=true Not working.
Weapons with Airstrike=true Crash the game.

Additional context

No response

Checklist

  • The issue happens on the latest official version of Phobos and wasn't fixed yet.
  • I agree to elaborate the details if requested and provide thorough testing if the bugfix is implemented.
  • I added a very descriptive title to this issue.
  • I used the GitHub search and read the issue list to find a similar issue and didn't find it.
  • I have attached as much information as possible (screenshots, gifs, videos, debug and exception logs, etc).

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions