The following bug occurred when attempting to retreat on a quick battle (I later checked on a slow battle – the same thing happened). When clicking, there is no crash, but when clicking "OK," a lot of errors appear, but then everything seems to be fine.

The save file is attached.
http://zalil.ru/32558709