summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--npc/commands/ucp.txt2
-rw-r--r--npc/items/valentine.txt2
2 files changed, 2 insertions, 2 deletions
diff --git a/npc/commands/ucp.txt b/npc/commands/ucp.txt
index 8464a7e4b..23e920655 100644
--- a/npc/commands/ucp.txt
+++ b/npc/commands/ucp.txt
@@ -178,7 +178,7 @@ function script UserCtrlPanel {
if ($EVENT$ == "Valentine") {
// GSET_VALENTINE_EATONE
// Eat all Chocolate Boxes from Valentine Day event
- if (GSET_VALENTINE_EATONE)
+ if (!GSET_VALENTINE_EATALL)
mes l("[Valentine] Eat all chocolate: ") + col(l("Not allowed"), 2);
else
mes l("[Valentine] Eat all chocolate: ") + col(l("Allowed"), 1);
diff --git a/npc/items/valentine.txt b/npc/items/valentine.txt
index 2bb56ab26..79a0a968b 100644
--- a/npc/items/valentine.txt
+++ b/npc/items/valentine.txt
@@ -14,7 +14,7 @@ function script EatValentineChocolate {
getitem BoxOfChocolates, 1;
} else {
.@pts=1;
- if (!GSET_VALENTINE_EATONE) {
+ if (GSET_VALENTINE_EATALL) {
.@pts=(#VALENTINE_RECEIVED-#VALENTINE_OPENED);
delitem BoxOfChocolates, .@pts-1;
}