Closed b-mayr-1984 closed 4 months ago
Not completely sure why this PR is showing it would edit the files again for typo's etc. that have already been edited in the last PR I merged.... I might be doing something wrong with git here xD
In any case, I cherry picked d159e5414ef3e0400cccb185aa41d5ad67bc192f (Fix dual call of initdroneSignals") instead from here.
Fixes a bug when merged, were jammable objects that shall represent a class of jammable objects call
initDroneSignals
twice and thus have 2x entries incrowsew_spectrum_beacons
(albeit with different frequencies).Bug illustration
left drone
right drone![image](https://github.com/Crowdedlight/Crows-Electronic-Warfare/assets/76476468/7e53e434-50bb-44ae-9c00-d10ade3c1c15)
also in Zeus perspective the dual initializations were visible
![image](https://github.com/Crowdedlight/Crows-Electronic-Warfare/assets/76476468/7235da75-da39-47c2-a121-59a8d9aace81)
After merge duplicate signal peaks are gone.