diff options
author | Jesusaves <cpntb1@ymail.com> | 2018-06-23 23:32:11 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2018-06-23 23:32:11 -0300 |
commit | dde5ed747c4ac81ee95d9c5ae447d55c4d1c9c1b (patch) | |
tree | 9e215452ce4368b5b16f540a2398a61e313f696c /npc/functions | |
parent | a73632485658b2c0b88e6f46f80ac8dff092a3a8 (diff) | |
download | serverdata-dde5ed747c4ac81ee95d9c5ae447d55c4d1c9c1b.tar.gz serverdata-dde5ed747c4ac81ee95d9c5ae447d55c4d1c9c1b.tar.bz2 serverdata-dde5ed747c4ac81ee95d9c5ae447d55c4d1c9c1b.tar.xz serverdata-dde5ed747c4ac81ee95d9c5ae447d55c4d1c9c1b.zip |
Ah, I can't do that...
Diffstat (limited to 'npc/functions')
-rw-r--r-- | npc/functions/weather.txt | 12 |
1 files changed, 5 insertions, 7 deletions
diff --git a/npc/functions/weather.txt b/npc/functions/weather.txt index 4adb172ef..300f3b009 100644 --- a/npc/functions/weather.txt +++ b/npc/functions/weather.txt @@ -130,8 +130,6 @@ OnMinute45: function WeatherSwitch { // Get map getmapxy(.@key$,.@a,.@b,0); - if (getarg(1,"0") != "0") - .@key$=getarg(1,.@key$); // Sanitize .@m$ = htget(.wcore, .@key$, "Not found"); @@ -146,23 +144,23 @@ OnMinute45: // Some commands, for GMs manually override weather OnRain: - WeatherSwitch(MASK_RAIN, getarg(0,"0")); + WeatherSwitch(MASK_RAIN); end; OnSand: - WeatherSwitch(MASK_SANDSTORM, getarg(0,"0")); + WeatherSwitch(MASK_SANDSTORM); end; OnSnow: - WeatherSwitch(MASK_SNOW, getarg(0,"0")); + WeatherSwitch(MASK_SNOW); end; OnNight: - WeatherSwitch(MASK_NIGHT, getarg(0,"0")); + WeatherSwitch(MASK_NIGHT); end; OnEvil: - WeatherSwitch(MASK_EVILSANCTUM, getarg(0,"0")); + WeatherSwitch(MASK_EVILSANCTUM); end; // Clear works on any map |