summaryrefslogtreecommitdiff
path: root/npc/functions/aurora.txt
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-05-18 08:18:36 -0300
committerJesusaves <cpntb1@ymail.com>2020-05-18 08:18:36 -0300
commitec21266463e6b1a2ef76bb4d99903cfebabacdd9 (patch)
treecade2649a4f83e347ede292ca5455a1019900000 /npc/functions/aurora.txt
parent677113d9eda0586138d86e1579f34af1df6a3ff0 (diff)
downloadserverdata-ec21266463e6b1a2ef76bb4d99903cfebabacdd9.tar.gz
serverdata-ec21266463e6b1a2ef76bb4d99903cfebabacdd9.tar.bz2
serverdata-ec21266463e6b1a2ef76bb4d99903cfebabacdd9.tar.xz
serverdata-ec21266463e6b1a2ef76bb4d99903cfebabacdd9.zip
Fix Kamelot Event.
Also, a good news: Catch the Golden Fish core worked! \o/ PS. Don't do server restarts at Mondays. Well, you can. But previous Aurora Event will be dismissed.
Diffstat (limited to 'npc/functions/aurora.txt')
-rw-r--r--npc/functions/aurora.txt9
1 files changed, 7 insertions, 2 deletions
diff --git a/npc/functions/aurora.txt b/npc/functions/aurora.txt
index 275bbc8dd..1e100f3cd 100644
--- a/npc/functions/aurora.txt
+++ b/npc/functions/aurora.txt
@@ -147,7 +147,11 @@ function script FYE_Kamelot {
}
mesc l("Should we?");
next;
- if (askyesno() == ASK_NO)
+ askyesno();
+ closeclientdialog();
+
+ // Not going? Spoilsport
+ if (@menu == ASK_NO)
return false;
// Someone began while you waited
@@ -155,11 +159,12 @@ function script FYE_Kamelot {
return true;
// Begin
- callfunc("KamelotCleanup", .@g);
+ //callfunc("KamelotCleanup", .@g); // Not needed
$KAMELOT_COOLDOWN[.@g] = 0;
$@FYE_KAMELOT[.@g] = gettimeparam(GETTIME_DAYOFMONTH);
mesc l("Have fun!");
next;
+ closeclientdialog();
return true;
}
return false;