diff options
Diffstat (limited to 'npc/commands')
-rw-r--r-- | npc/commands/event.txt | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/npc/commands/event.txt b/npc/commands/event.txt index 4045de7cc..bf678a5a0 100644 --- a/npc/commands/event.txt +++ b/npc/commands/event.txt @@ -79,7 +79,8 @@ function script GlobalEventMenu { DelAccRegFromEveryPlayer("#VALENTINE_RECEIVED"); DelAccRegFromEveryPlayer("#VALENTINE_OPENED"); DelAccRegFromEveryPlayer("#VALENTINE_SENT"); - DelAccRegFromEveryPlayer("#VALENTINE_LOVELETTERS"); + htdelete $@VALENTINE_LOVELETTER; + $@VALENTINE_LOVELETTER=0; } // We must remove any event drop @@ -122,7 +123,7 @@ function script GlobalEventMenu { case 1: sClear(); set $EVENT$, ""; logmes "Disabled events.", LOGMES_ATCOMMAND; break; case 2: - set $EVENT$, "Valentine"; logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; + set $EVENT$, "Valentine"; $@VALENTINE_LOVELETTER = htnew(); logmes "Enabled VALENTINE DAY event.", LOGMES_ATCOMMAND; break; case 3: sEaster(); break; case 4: |