diff options
author | Jesusaves <cpntb1@ymail.com> | 2019-07-21 22:40:21 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2019-07-21 22:40:21 -0300 |
commit | aafcd91cb129e482ae10dbbb3bbf4438fed1e606 (patch) | |
tree | 82064e1672863ef44ede27e2cd4d97d719c1b509 | |
parent | c54107b47110f0b0e19ac3a55b98627e59eee70d (diff) | |
download | serverdata-aafcd91cb129e482ae10dbbb3bbf4438fed1e606.tar.gz serverdata-aafcd91cb129e482ae10dbbb3bbf4438fed1e606.tar.bz2 serverdata-aafcd91cb129e482ae10dbbb3bbf4438fed1e606.tar.xz serverdata-aafcd91cb129e482ae10dbbb3bbf4438fed1e606.zip |
Fix GM Account forced reset.
-rw-r--r-- | npc/functions/clientversion.txt | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/npc/functions/clientversion.txt b/npc/functions/clientversion.txt index 6951c1316..818f8edd6 100644 --- a/npc/functions/clientversion.txt +++ b/npc/functions/clientversion.txt @@ -10,9 +10,13 @@ function script clientupdater { // GM Reset Util if (is_staff()) { - resetlvl(0); + if (BaseLevel > 20) { + resetlvl(1); clearitem(); + adddefaultskills(); dispbottom col("GM Account detected - Automatic Char Reset successful.", 1); + debugmes "GM Account %s reset successful", strcharinfo(0); + } } // Skip any update for newcomers |