diff options
-rw-r--r-- | npc/003-3/malindou.txt | 10 | ||||
-rw-r--r-- | npc/functions/savepoint.txt | 9 |
2 files changed, 11 insertions, 8 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index 78f57c2c7..e70ba5db0 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -473,7 +473,15 @@ OnInit: debugmes "* Blanket fix"; debugmes ""; } - + // Current UPDATE value: Dom Fev 16 14:54:30 BRT 2020 + // Language over simplification + if ($UPDATE < 1581875670) { + $UPDATE=1581875670; + query_sql("DELETE FROM `char_reg_num_db` WHERE `key`='INN_REGISTER'"); + debugmes ""; + debugmes "* Variable cleanup"; + debugmes ""; + } // This mensures Contributors Credits, and changes only during updates. diff --git a/npc/functions/savepoint.txt b/npc/functions/savepoint.txt index 2118d8aa5..8b0f3ce0f 100644 --- a/npc/functions/savepoint.txt +++ b/npc/functions/savepoint.txt @@ -7,13 +7,12 @@ // Usage: // savepointparticle; // savepointparticle NO_INN; -// savepointparticle map, x, y, NO_INN; +// savepointparticle map, x, y; // Description: // Save location with arguments: // getarg(0) map name, // getarg(1) x's value, -// getarg(2) y's value, -// getarg(3) INN flag. +// getarg(2) y's value. function script savepointparticle { @@ -36,10 +35,6 @@ function script savepointparticle { message strcharinfo(0), l("Your position has been saved."); - if (getarg(.@i, NO_INN) == NO_INN) - { - INN_REGISTER = NO_INN; - } if (GSET_SOULMENHIR_MANUAL) savepoint .@mapname$, .@mapx, .@mapy; specialeffect(4, SELF, getcharid(3)); |