From 91581a92cfff42f0fc9332981e70a4e5ceb51498 Mon Sep 17 00:00:00 2001 From: Jesusaves Date: Thu, 2 Aug 2018 10:16:35 -0300 Subject: skip_checks flag, so SeasonReload work as desired --- npc/functions/seasons.txt | 7 +++++++ 1 file changed, 7 insertions(+) (limited to 'npc/functions') diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt index a93cc78f9..e29c64146 100644 --- a/npc/functions/seasons.txt +++ b/npc/functions/seasons.txt @@ -49,7 +49,14 @@ function script SeasonControl { } while (@menu != 3); return; } + +// If skip_checks is set, it'll ignore $@SEASON control. +// SeasonReload( {skip_checks} ) function script SeasonReload { + // Proccess skip_checks + if (getarg(0,0)) + $@SEASON=99; + // Summer extra drops if (season() == SUMMER && $@SEASON != SUMMER) { donpcevent("#SeasonCore::OnSummerStart"); -- cgit v1.2.3-60-g2f50