Robosturm/Commander_Wars

Auto Tank Cannot Attack Again After Damaging Structure

FruityGumGuiltyFruit opened this issue · 3 comments

Describe the bug
Read title.

To Reproduce
Steps to reproduce the behavior:

  1. Play on map with structure.
  2. Use CO with auto tank.
  3. Attack structure with auto tank.
  4. See error

Expected behavior
Auto tank should be able to use its second attack or wait.

Screenshots
image

Desktop (please complete the following information):
OS: [Windows 10 Home]
Version [e.g. 22H2]
Active Mods (Note: none vanilla mod problems want be investigated)
Game Version [e.g. Beta 35]

ah heck I'll look into it

ACTION_FIRE does not call postBattleActions if a building is attacked
I can try to use postAction instead

alright, confirmed
I was about to make a fix, but looks like robosturm was one step ahead of me