official-antistasi-community / A3-Antistasi

Antistasi Community Version - work in progress - Discord https://discord.com/invite/TYDwCRKnKX
https://antistasi.de
Other
226 stars 156 forks source link

Fetch current arsenal data before displaying the arsenal limits dialog #3294

Closed jaj22 closed 3 months ago

jaj22 commented 3 months ago

What type of PR is this.

  1. [X] Bug
  2. [ ] Change
  3. [ ] Enhancement

What have you changed and why?

The arsenal limits dialog never fetched the arsenal data (jna_datalist) itself, so on clients it could show out-of-date information, or error out if the arsenal hadn't been accessed locally. This PR fixes it by fetching the arsenal data on dialog init.

Please specify which Issue this PR Resolves.

closes #XXXX

Please verify the following and ensure all checks are completed.

  1. [X] Have you loaded the mission in LAN host?
  2. [X] Have you loaded the mission on a dedicated server?

Is further testing or are further changes required?

  1. [X] No
  2. [ ] Yes (Please provide further detail below.)