summaryrefslogtreecommitdiff
path: root/npc/commands/event.txt
diff options
context:
space:
mode:
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r--npc/commands/event.txt10
1 files changed, 4 insertions, 6 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt
index ed40c184..a01162e2 100644
--- a/npc/commands/event.txt
+++ b/npc/commands/event.txt
@@ -4,16 +4,14 @@ function script GlobalEventMenu {
mes l("This menu allows you to manage events and gives access to event-related tools.");
mes "";
mes l("There is no event available right now.");
- menuint
- rif(getarg(0,0), menuimage("actions/home", l("Return to Super Menu"))), 1,
- menuimage("actions/exit", l("Close")), 2;
- if (@menuret == 1)
+ if (getarg(0,0))
{
- return;
+ select
+ menuimage("actions/home", l("Return to Super Menu"));
}
- closedialog;
+ return;
}