Starting around 1809, I started randomly crashing in the middle of battles. It wasn't like that before, but they're starting to become more frequent. I'm not sure if it can be an optimization issue since the battles were working perfectly fine before.