Help with GameWorld vs GameInstance
I'm working on a mod to make the Phases harder by multiplying their costs. I'm running into a bug where each time you log into a dedicated server, the multiplications will reapply. My thought is that, as a GameWorld object, it loads each time, and the client displays re-multiplied numbers. I tried using a GameInstance object, but that has no effect, despite my logging claiming it's working. Interestingly, loading in repeatedly to a singleplayer world does not have the same effect, and the mod works as intended.
Am I missing something? Is there some sort of reset in between these two objects loading?
Solution:Jump to solution
You probably only need to run the multiplications on the side with authority
3 Replies