diff options
Diffstat (limited to 'npc/other/dts_warper.txt')
-rw-r--r-- | npc/other/dts_warper.txt | 10 |
1 files changed, 3 insertions, 7 deletions
diff --git a/npc/other/dts_warper.txt b/npc/other/dts_warper.txt index f7f71d9c2..31d38bba2 100644 --- a/npc/other/dts_warper.txt +++ b/npc/other/dts_warper.txt @@ -824,17 +824,13 @@ function script F_DTS_Warp { next;
switch(select(@dtswarp$[0],@dtswarp$[1],@dtswarp$[2],@dtswarp$[3])){
case 1:
- set @num, 0;
- break;
case 2:
- set @num, 1;
- break;
case 3:
- set @num, 2;
- break;
case 4:
- set @num, 3;
+ set @num, @menu - 1;
break;
+ default:
+ end;
}
Lwarp:
if (@dtswarp$[@num] == "Cancel") goto Lcancel;
|