Closed plexsoup closed 8 months ago
This appears to be related to the pelican. If the pelican is killed while holding a fish, the level believes there's 1 more fish than there should be remaining on the field.
I've added validation tests to remaining fish, to make sure they're actually in the tree, alive, and not captive. This appear to have fixed the issue with levels never ending after a pelican died with a fish in its beak.
I played the procedural levels and got stuck on the third or fourth level. I had no units left to send, and lots across the finish line, but the game didn't end.
Find the source of the bug and/or add a "nothing happening" timer as a workaround hack.
Levels should always end.