summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2018-07-23 10:31:39 -0300
committerJesusaves <cpntb1@ymail.com>2018-07-23 10:31:39 -0300
commit966cc70b39e42da301e9a23f9590235143a61247 (patch)
treec853b5ab49cc06d2d1db0f146cf5ac89ac5eb2d7
parent50d21388a4af49a4222c5bbca689b053ca1d9c97 (diff)
downloadserverdata-966cc70b39e42da301e9a23f9590235143a61247.tar.gz
serverdata-966cc70b39e42da301e9a23f9590235143a61247.tar.bz2
serverdata-966cc70b39e42da301e9a23f9590235143a61247.tar.xz
serverdata-966cc70b39e42da301e9a23f9590235143a61247.zip
Prevent addmonsterdrop overflow
-rw-r--r--npc/functions/seasons.txt2
1 files changed, 1 insertions, 1 deletions
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index b0b05792a..3fe8f12d1 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -41,7 +41,7 @@ OnHour00:
if ($@SEASON != season()) {
// Summer extra drops
- if (season() == SUMMER) {
+ if (season() == SUMMER && $@SEASON != SUMMER) {
addmonsterdrop(Duck, CherryCocktail, 360);
addmonsterdrop(Croc, CherryCocktail, 180);
addmonsterdrop(SaxsoGhost, CherryCocktail, 450);