SceptreOfficial / Simplex-Support-Services

Support system for Arma 3
Other
26 stars 12 forks source link

Fix artillery coordination distance compute #60

Closed Mysteryjuju closed 4 years ago

Mysteryjuju commented 4 years ago

Before this patch: coordination distance between artilleries are computed from others artilleries coordination distance. The setting set on a support artillery is used by others artilleries. Example: Artillery A, coordination distance 100m Artillery B, coordination distance 200m Artilleries A and B are separated by 150m. Artillery A can request a coordination with artillery B (because B has 200m configured) Artillery B can't request a coordination with artillery A (because it's artillery A coordination distance which is used: 100m < 150m)

With this patch: coordination distance between artilleries is computed using the requested artillery coordination distance. With the above example, now: Artillery A can't request a coordination with artillery B Artillery B can request a coordination with artillery A

SceptreOfficial commented 4 years ago

Thanks for catching this.