summaryrefslogtreecommitdiff
path: root/npc/items
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2020-02-15 00:19:06 -0300
committerJesusaves <cpntb1@ymail.com>2020-02-15 00:19:06 -0300
commit73e1ab8ecb0bd79ea3f3f3266f82dc2f2f0d67be (patch)
tree588ac4a6f073cc6cffacefee1d2d8eef57984038 /npc/items
parentcb1d3d61c0a81c57af900d4e4449b3fe11f2a86e (diff)
downloadserverdata-73e1ab8ecb0bd79ea3f3f3266f82dc2f2f0d67be.tar.gz
serverdata-73e1ab8ecb0bd79ea3f3f3266f82dc2f2f0d67be.tar.bz2
serverdata-73e1ab8ecb0bd79ea3f3f3266f82dc2f2f0d67be.tar.xz
serverdata-73e1ab8ecb0bd79ea3f3f3266f82dc2f2f0d67be.zip
[skip ci] swap logic
Diffstat (limited to 'npc/items')
-rw-r--r--npc/items/valentine.txt2
1 files changed, 1 insertions, 1 deletions
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;
}