Festival Bug?

So, I won my first festival attack and got 3 crowns, and I started another attack and this time got 2 crowns before the game exited at the gate and I had to reenter. Upon reenter, I saw that I had 3 crowns but it had taken off the 220 bread I had used to attack the second time

I guess the game tolls food when you initiate attacks and result wasn’t saved because of disconnect. It may be less of a bug and more of a mechanic, but that would need confirmation. The disconnect throwing you out of a raid is probably the bug, not how your score was affected.