diff --git a/src/p_acs.cpp b/src/p_acs.cpp index ac18814ea..72f42694e 100644 --- a/src/p_acs.cpp +++ b/src/p_acs.cpp @@ -7375,7 +7375,14 @@ void DACSThinker::DumpScriptStatus () while (script != NULL) { - Printf ("%d: %s\n", script->script, stateNames[script->state]); + if (script->script < 0) + { + Printf("\"%s\": %s\n", FName(ENamedName(-script->script)).GetChars(), stateNames[script->state]); + } + else + { + Printf("%d: %s\n", script->script, stateNames[script->state]); + } script = script->next; } }