diff options
author | gumi <mekolat@users.noreply.github.com> | 2016-08-18 18:45:01 -0400 |
---|---|---|
committer | gumi <mekolat@users.noreply.github.com> | 2016-09-02 20:16:53 -0400 |
commit | 5d7c9eb8b6f3175d7eb5afe28eb85519d1d2cd2d (patch) | |
tree | f917e542caacec1361a237b2ee25ef184dcbcc9b /npc/commands/event.txt | |
parent | 3aaf8002319cdebd93f2292e6d18cb727c532550 (diff) | |
download | serverdata-5d7c9eb8b6f3175d7eb5afe28eb85519d1d2cd2d.tar.gz serverdata-5d7c9eb8b6f3175d7eb5afe28eb85519d1d2cd2d.tar.bz2 serverdata-5d7c9eb8b6f3175d7eb5afe28eb85519d1d2cd2d.tar.xz serverdata-5d7c9eb8b6f3175d7eb5afe28eb85519d1d2cd2d.zip |
last minute changes
Diffstat (limited to 'npc/commands/event.txt')
-rw-r--r-- | npc/commands/event.txt | 10 |
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; } |