diff options
author | Jesusaves <cpntb1@ymail.com> | 2020-02-17 23:28:04 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2020-02-17 23:28:04 -0300 |
commit | 770237fa7f64c3a0ae897d85fbb72660d5547a2f (patch) | |
tree | 4e2f4a29ad4524d576b2b499e9da1507af52da8d | |
parent | 1a15a67a98c4e75d96b8a122b9986a0483b46729 (diff) | |
download | serverdata-770237fa7f64c3a0ae897d85fbb72660d5547a2f.tar.gz serverdata-770237fa7f64c3a0ae897d85fbb72660d5547a2f.tar.bz2 serverdata-770237fa7f64c3a0ae897d85fbb72660d5547a2f.tar.xz serverdata-770237fa7f64c3a0ae897d85fbb72660d5547a2f.zip |
Simplification
-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)); |