I used a game mode blueprint how you would a game state. Why is this an issue and what's the best way to fix this?

When I started the project I’m working on, I didn’t know that the game state class was a thing, so I put all the stuff that one would put in the game state in the game mode blueprint instead.
What’s the best way to fix this?
Also, I understand that this is an issue, but what is the problem caused by doing this?

Hey @Injaa, I’m not sure I understand your problem. So you put code that was meant for the GameMode in your GameState, why not just move it to the GameMode then?

Also, is your game multiplayer? Because if it is not, then there isn’t much of a difference if you decide to put your code in your GameState instead, as long as you and any other programmer working with you knows what you are doing.

1 Like