Move Global_GameEnded to common