Debug mode
Moderator: Forum Moderators
Debug mode
Does anyone know where in the source file I can remove access to debug mode? I have a horrible and irresistible habit of cheating and it's really killing the game for me. I'd like to have some way of removing, or just preventing access from debug mode.
Any ideas?
Any ideas?
-
- Inactive Developer
- Posts: 503
- Joined: April 24th, 2016, 4:18 pm
Re: Debug mode
Give it a few days. You're asking a complex issue. I am fairly sure there is no *EASY* way to disable the Debug command. So the question is: is it worth putting together a Pull Request adding a command-line option to do so. Basically, that option would probably simply disable the hotkey function. If, however, you just want a patch for personal use, you'll do better finding the function and disabling it yourself.
I forked real life and now I'm getting merge conflicts.
Re: Debug mode
Of course there's an easy way; just edit/remove the "game_config::debug = true;" statements from both game_controller.cpp (game_launcher.cpp in 1.13) and menu_events.cpp.