The are multiple ways to do it, but the easiest way is to to make the actor set the reference in the gamemode to itself:
In the actor:
In the gamemode: