From 1c2001f6ef1ddabd5e1852fe3ce5f2ae687cbad7 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Sat, 9 Feb 2019 00:02:22 -0200 Subject: Receive chocolate boxes - OK --- npc/commands/event.txt | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'npc/commands') diff --git a/npc/commands/event.txt b/npc/commands/event.txt index bf678a5a0..12ea6f301 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -79,6 +79,7 @@ function script GlobalEventMenu { DelAccRegFromEveryPlayer("#VALENTINE_RECEIVED"); DelAccRegFromEveryPlayer("#VALENTINE_OPENED"); DelAccRegFromEveryPlayer("#VALENTINE_SENT"); + htdelete $@VALENTINE_GIFTSTACKS; htdelete $@VALENTINE_LOVELETTER; $@VALENTINE_LOVELETTER=0; } @@ -123,7 +124,7 @@ function script GlobalEventMenu { case 1: sClear(); set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND; break; case 2: - set $EVENT$, "Valentine"; $@VALENTINE_LOVELETTER = htnew(); logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; + set $EVENT$, "Valentine"; $@VALENTINE_LOVELETTER = htnew(); $@VALENTINE_GIFTSTACKS = htnew(); logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; break; case 3: sEaster(); break; case 4: -- cgit v1.2.3-70-g09d2