Fixes my gamemode debugger

Last second changes always break stuff
Merge pull request #3327 from Malkevin/gamemodedebug

Fixes my gamemode debugger