Hi all,
Relatively light update this time in terms of new features. The game seems to be crashing quite a bit during gameplay for a lot of you, so I've been poring over the code and trying to identify any potential areas that may cause crashes depending on certain situations. That being said, I've still had some time to tweak the game and fix some bugs.
Bugfixes/Changes:
- Errors that were popping up but not causing crashes in the debugger have been addressed, which will hopefully alleviate many of the crashes being encountered.
- Fixed some pathfinding issues that would arise with the enemy AI that would cause it to skip building certain tiles.
- Fixed bug in which certain situations would cause the enemy AI to get stuck attempting to rotate its units into the reserve, creating unnecessary pathfinding checks that slowed the game down.
- Buildings under construction no longer provide protection until complete.
- Watch duty is now an option when in terrain (houses/forests).
- Machine gun units can now perform watch duty at night. It wasn't particularly realistic to not have machine gunners attempt to attack advancing enemy soldiers at night.
- When rifle units attack advancing enemies in no-man's land during daytime, they now specifically target single tiles rather than entire areas.
- Support units now cause less damage in melee combat.
- Selecting zero tiles in a rest order no longer crashes the game.
- Supply Area orders no longer default to the current mouse position as the starting position. This fixes the bug in which ordering a unit to supply an area would result in them moving into no-man's land prior to supplying units in trenches.
Hopefully these changes make the game a bit smoother to play.
Thanks for playing!
