Set variable for host that stays set from menu to play

I’ve tried for the past hour but I can’t seem to get this to work.

Essentially I want to set a boolean on my host character customer player state, that says if theyre the host or not.

So I tried:

Start Game → Choose HOST Game> Choose map and click start game > Cast to my player state and set is host to TRUE > load map etc…

This seems to work for a few seconds… it sets the variable to true, but it looks like the state is then replaced by a new one and the variable returns to false. Same thing occurs if i cast to playercontroller instead.

I want the host to have a variable set that says theyre the host. Any idea how to set this before the game starts on the player that chooses to host a game?

Thanks.