ITADN

Issue with Fighter unit attacking Land Unit and game crash when attacking B-Copter

#110ClosedHunterNN 创建于 2024-06-06
bugengine
H
HunterNNcommented
**Describe the bug** When a fighter unit attacks an infantry land unit, the game logic stops, but animations continue to play. The player is unable to move or take any further action. This attack should not be possible as fighters can only attack air units. Additionally, when attempting to attack a B-Copter with a fighter unit, the game crashes entirely with the error message "Out of bounds get index '-1' (on base: 'Dictionary')". **To Reproduce** Steps to reproduce the behavior: 1. Load the game. 2. Attempt to attack a infantry land unit with the fighter unit. **Expected behavior** The game should prevent the fighter unit from attacking the land unit. If the player attempts to attack a B-Copter with a fighter unit, the game should not crash. **Desktop (please complete the following information):** - Game version [cc0da09](https://github.com/Codename-Recon/Codename-Recon/commit/cc0da0918f25cd9b959b9286ac6a3c6e439bb961)
关闭于 2024-06-23 0 条评论