diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-05-31 16:57:38 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-05-31 16:57:38 -0300 |
commit | 784be8e4e0e2d712eebc90b64f31eaea1e68f756 (patch) | |
tree | 174e9b62e8e2b0ceb30ceaa9b7598a1c4a6842c2 /npc/commands | |
parent | 10f9b232849b89085bbeb24cf2983177e4e9fcd0 (diff) | |
download | serverdata-784be8e4e0e2d712eebc90b64f31eaea1e68f756.tar.gz serverdata-784be8e4e0e2d712eebc90b64f31eaea1e68f756.tar.bz2 serverdata-784be8e4e0e2d712eebc90b64f31eaea1e68f756.tar.xz serverdata-784be8e4e0e2d712eebc90b64f31eaea1e68f756.zip |
Simplify @qdebug
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/debug-quest.txt | 23 |
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; } |