In my game, achievements are not received in the script, but rather through a screen that examines if conditions to receive an achievement are met. So, for example,
Code: Select all
if achievement_01 and not achievement.has("achievement_prologue"):
$achievement.grant("achievement_prologue")
$achievement.register("achievement_prologue")
$achievement.sync()
The most common occurrence was when the game ended with the "return". But not if the player skipped through the transitioning fade out - only if they allowed the game to display the entirety of the transition. It stopped happening once I built another, hand-made transition and ended the game with $ MainMenu(confirm=False)() .
Can you think of a way how I could stop this from happening?