summaryrefslogtreecommitdiff
path: root/npc/commands
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-04-29 15:42:13 -0300
committerJesusaves <cpntb1@ymail.com>2019-04-29 15:42:13 -0300
commit53853ed9b34da883554e24f813c330815f52ebe5 (patch)
tree403f6a1ced9123f2fe68498b669419a8cc6876f1 /npc/commands
parentbcb88c0deaa105aa86ae7029c228210904a687fe (diff)
downloadserverdata-53853ed9b34da883554e24f813c330815f52ebe5.tar.gz
serverdata-53853ed9b34da883554e24f813c330815f52ebe5.tar.bz2
serverdata-53853ed9b34da883554e24f813c330815f52ebe5.tar.xz
serverdata-53853ed9b34da883554e24f813c330815f52ebe5.zip
Fix fix and more fix
Diffstat (limited to 'npc/commands')
-rw-r--r--npc/commands/ucp.txt15
1 files changed, 8 insertions, 7 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 04743f0f5..87e5bfc64 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -164,6 +164,13 @@ function script UserCtrlPanel {
mes "";
switch (@menu) {
+ case 1:
+ // Update savepoint if needed
+ if (@unsaved) {
+ if (!GSET_SOULMENHIR_MANUAL) savepoint "000-1", 22, 22;
+ else doevent "Emergency Exit::OnSetLX";
+ }
+ break;
case 2:
GSET_SOULMENHIR_MANUAL=!GSET_SOULMENHIR_MANUAL;
@unsaved=true;
@@ -176,13 +183,7 @@ function script UserCtrlPanel {
clear;
} while (@menu != 1);
break;
- case 8:
- // Update savepoint if needed
- if (@unsaved) {
- if (!GSET_SOULMENHIR_MANUAL) savepoint "000-1", 22, 22;
- else doevent "Emergency Exit::OnSetLX";
- }
- close; break;
+ case 8: close; break;
}
} while (1);
}