summaryrefslogtreecommitdiff
path: root/npc/functions
diff options
context:
space:
mode:
authorJesusaves <cpntb1@ymail.com>2019-09-11 10:58:20 -0300
committerJesusaves <cpntb1@ymail.com>2019-09-11 10:58:20 -0300
commit5700344c0356ed9170704f89cc31a54ef3f0df25 (patch)
treea16af559b3b4ab4decf09e49d1596fef83fd1f4c /npc/functions
parent51f09c391b3ea8b8676b55ab6252a01f29d82b34 (diff)
downloadserverdata-5700344c0356ed9170704f89cc31a54ef3f0df25.tar.gz
serverdata-5700344c0356ed9170704f89cc31a54ef3f0df25.tar.bz2
serverdata-5700344c0356ed9170704f89cc31a54ef3f0df25.tar.xz
serverdata-5700344c0356ed9170704f89cc31a54ef3f0df25.zip
Fix typo on season()
Diffstat (limited to 'npc/functions')
-rw-r--r--npc/functions/seasons.txt4
1 files changed, 2 insertions, 2 deletions
diff --git a/npc/functions/seasons.txt b/npc/functions/seasons.txt
index 51fee458f..2d82b5c79 100644
--- a/npc/functions/seasons.txt
+++ b/npc/functions/seasons.txt
@@ -14,10 +14,10 @@
// AUTUMN: Autumn, 22/09
function script season {
- .@current_month = getarg(0, gettime(GETTIME_MONTH));
+ .@current_month = getarg(1, gettime(GETTIME_MONTH));
if (.@current_month % 3 == 0) {
- .@current_day = getarg(1, gettime(GETTIME_DAYOFMONTH));
+ .@current_day = getarg(0, gettime(GETTIME_DAYOFMONTH));
switch (.@current_month) {
case MARCH: .@season_day = 20; break;