Move gamemode dependent logic to helper