Robosturm / Commander_Wars

The aim of this project is to create an Advance Wars Clone with a lot of additions customizations and modding support. For Contact Inforamtion see the wiki page. Take a view on the game.
https://github.com/Robosturm/Commander_Wars/releases
GNU Lesser General Public License v3.0
213 stars 33 forks source link

Auto Tank Cannot Attack Again After Damaging Structure #1762

Closed FruityGumGuiltyFruit closed 6 months ago

FruityGumGuiltyFruit commented 6 months ago

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]

MrDuck557 commented 6 months ago

ah heck I'll look into it

MrDuck557 commented 6 months ago

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

MrDuck557 commented 6 months ago

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