Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add - SDB and GPS tracking #10037

Open
wants to merge 4 commits into
base: missile_guidance_rewrite
Choose a base branch
from

Conversation

TheCandianVendingMachine
Copy link
Contributor

When merged this pull request will:

  • GBU-39
  • Add a basic GPS tracking seeker, with a JDAM attack profile for angled attacks

Merge Strategy

Follow #10019

IMPORTANT

  • If the contribution affects the documentation, please include your changes in this pull request so the documentation will appear on the website.
  • Development Guidelines are read, understood and applied.
  • Title of this PR uses our standard template Component - Add|Fix|Improve|Change|Make|Remove {changes}.

Comment on lines +25 to +29
[
GVAR(gps_currentSettings)#0,
GVAR(gps_currentSettings)#1,
GVAR(gps_currentSettings)#2
]
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Should be replaceable like this, as per the command description & syntax 6 in the documentation:

Suggested change
[
GVAR(gps_currentSettings)#0,
GVAR(gps_currentSettings)#1,
GVAR(gps_currentSettings)#2
]
+GVAR(gps_currentSettings)

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

What you're suggesting is a deep copy while original code basically does a shallow one, shallow copy would be [] + GVAR(gps_currentSettings). Does not seem to matter in this case.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants