summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/super-menu.txt7
1 files changed, 4 insertions, 3 deletions
diff --git a/npc/commands/super-menu.txt b/npc/commands/super-menu.txt
index 08e7824e5..ef52632a7 100644
--- a/npc/commands/super-menu.txt
+++ b/npc/commands/super-menu.txt
@@ -101,10 +101,11 @@ OnGM:
close;
OnGMOff:
- if (is_staff())
+ if (is_staff()) {
logmes strcharinfo(0)+" : GM logout.", LOGMES_ATCOMMAND;
- atcommand("@adjgroup 0");
- close;
+ atcommand("@adjgroup 0");
+ }
+ end;
OnInit:
bindatcmd "super", "@super::OnCall", 80, 99, 0;