Fix VM dap debugging being always active

This commit is contained in:
MrRaveYard 2025-08-09 21:23:40 +02:00 committed by Ricardo Luís Vaz Silva
commit 8ad4091b18

View file

@ -3159,7 +3159,7 @@ static int FileSystemPrintf(FSMessageLevel level, const char* fmt, ...)
static int D_InitGame(const FIWADInfo* iwad_info, std::vector<std::string>& allwads, std::vector<std::string>& pwads)
{
NetworkEntityManager::InitializeNetworkEntities();
bool dap_debugging = vm_debug.get();
bool dap_debugging = *vm_debug;
if (Args->CheckValue("-debug") || dap_debugging)
{
dap_debugging = true;