At the end of the enemy turn, the game is restarted

You should try on the febuilder thread or febuilder discord channel on the feuniverse discord.

As to your issue, it could be due to an event you made at the end of the enemy phase or the start of the player phase. But I can’t tell from the info you have provided.