Skip to content
This repository has been archived by the owner on Apr 14, 2020. It is now read-only.

Turrets cannot be reloaded // Turrets reloaded with wrong ammo type #1188

Open
mitasamodel opened this issue Apr 5, 2020 · 0 comments · May be fixed by #1209
Open

Turrets cannot be reloaded // Turrets reloaded with wrong ammo type #1188

mitasamodel opened this issue Apr 5, 2020 · 0 comments · May be fixed by #1209

Comments

@mitasamodel
Copy link

Hello,

there is a bug when it is not possible to reload the turrets or when the turrets being reloaded with wrong ammo type.

Second part is easy to reproduce:
Images

  1. Spawn ammo not in stacks, not the default ammo type (e.g. AP-I)
  2. Place turrets. Everything is OK: no ammo-switch and reload occur
  3. Designate a stockpile. Wait until some ammo will be merged
  4. As soon as there more than 100 ammo in 1 stack, the auto-switch of ammo occur and turret is being reloaded. Error message occur as well.

The first part (unable to reload the turrets) is harder to reproduce. To do it, I have to recreate several maps until the effect occur. In my normal game (with a lots of mods) this occur always.
Here is a video demonstration without any additional mods.

Steam discussion

MadaraUchiha added a commit to MadaraUchiha/CombatExtended that referenced this issue Apr 9, 2020
- Also increase ammo search range from 40 tiles to 100 tiles.
- Fix bug where lastSurrdoundingAmmoCheck would not be updated if
GenClosestAmmo cache hit.
- Fixes CombatExtendedRWMod#1188
@MadaraUchiha MadaraUchiha linked a pull request Apr 9, 2020 that will close this issue
4 tasks
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant