[Fix] Now an engine will only notify once if the game ends