summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-05-31 16:57:38 -0300
committerJesusaves <cpntb1@ymail.com>2018-05-31 16:57:38 -0300
commit784be8e4e0e2d712eebc90b64f31eaea1e68f756 (patch)
tree174e9b62e8e2b0ceb30ceaa9b7598a1c4a6842c2
parent10f9b232849b89085bbeb24cf2983177e4e9fcd0 (diff)
downloadserverdata-784be8e4e0e2d712eebc90b64f31eaea1e68f756.tar.gz
serverdata-784be8e4e0e2d712eebc90b64f31eaea1e68f756.tar.bz2
serverdata-784be8e4e0e2d712eebc90b64f31eaea1e68f756.tar.xz
serverdata-784be8e4e0e2d712eebc90b64f31eaea1e68f756.zip
Simplify @qdebug
-rw-r--r--npc/commands/debug-quest.txt23
1 files changed, 5 insertions, 18 deletions
diff --git a/npc/commands/debug-quest.txt b/npc/commands/debug-quest.txt
index 9c4254d60..52f545725 100644
--- a/npc/commands/debug-quest.txt
+++ b/npc/commands/debug-quest.txt
@@ -35,24 +35,11 @@ function script GlobalQuestDebug {
} while (1);
}
- do
- {
- clear;
- setnpcdialogtitle l("Quest debug");
- mes l("This menu gives access to all quest debug menus.");
- next;
- mes l("Please select a category:");
-
- select
- l("Other"),
- rif(getarg(0,0), menuimage("actions/back", l("Return to Debug menu")));
-
- switch (@menu)
- {
- case 1: qDebugGeneral; break;
- default: return;
- }
- } while (1);
+ clear;
+ setnpcdialogtitle l("Quest debug");
+ mes l("This menu gives access to all quest debug menus.");
+ next;
+ qDebugGeneral;
}