mirror of
https://github.com/dhewm/dhewm3.git
synced 2024-11-23 04:51:56 +00:00
- automatically enable com_enableDebuggerServer when launching the debugger from a game which does not have the debugger server running
This commit is contained in:
parent
fe162e626f
commit
6e8b6a6773
1 changed files with 8 additions and 1 deletions
|
@ -1146,7 +1146,14 @@ Com_ScriptDebugger_f
|
|||
static void Com_ScriptDebugger_f( const idCmdArgs &args ) {
|
||||
// Make sure it wasnt on the command line
|
||||
if ( !( com_editors & EDITOR_DEBUGGER ) ) {
|
||||
DebuggerClientLaunch();
|
||||
|
||||
//start debugger server if needed
|
||||
if ( !com_enableDebuggerServer.GetBool() )
|
||||
com_enableDebuggerServer.SetBool( true );
|
||||
|
||||
//start debugger client.
|
||||
DebuggerClientLaunch();
|
||||
|
||||
}
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in a new issue