diff options
Diffstat (limited to 'npc/003-3/malindou.txt')
-rw-r--r-- | npc/003-3/malindou.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/003-3/malindou.txt b/npc/003-3/malindou.txt index b8ebee4b5..ac7c7ef0d 100644 --- a/npc/003-3/malindou.txt +++ b/npc/003-3/malindou.txt @@ -464,6 +464,12 @@ OnInit: //htput($@CONTRIBUTORS, "", 1); end; +// Every time the server starts, clean up possibly broken data about treasures. +// NPC ID might have changed. +OnInterIfInitOnce: + query_sql("DELETE FROM `char_reg_num_db` WHERE `key`='RNGTREASURE_DATE'"); + end; + // This control all PC Login events // Position matters! OnPCLoginEvent: |