diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-08-02 10:16:35 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-08-02 10:19:39 -0300 |
commit | 91581a92cfff42f0fc9332981e70a4e5ceb51498 (patch) | |
tree | 937fd91aedeb43c21d7262876090f1a0115f2751 /npc | |
parent | db843bc101eb73e77b9299e101f3b13d0a278ae0 (diff) | |
download | serverdata-91581a92cfff42f0fc9332981e70a4e5ceb51498.tar.gz serverdata-91581a92cfff42f0fc9332981e70a4e5ceb51498.tar.bz2 serverdata-91581a92cfff42f0fc9332981e70a4e5ceb51498.tar.xz serverdata-91581a92cfff42f0fc9332981e70a4e5ceb51498.zip |
skip_checks flag, so SeasonReload work as desired
Diffstat (limited to 'npc')
-rw-r--r-- | npc/functions/seasons.txt | 7 |
1 files changed, 7 insertions, 0 deletions
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"); |