diff options
author | Jesusaves <cpntb1@ymail.com> | 2024-12-31 11:06:05 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2024-12-31 11:06:05 -0300 |
commit | 9b8037f015d5104dcb5106952a626e0c6e1fdf9a (patch) | |
tree | 127f195112cf407d94eae6589073e3246c45265a /npc | |
parent | c1043466788f472fc6dc47606b75a61a0231a4e7 (diff) | |
download | serverdata-9b8037f015d5104dcb5106952a626e0c6e1fdf9a.tar.gz serverdata-9b8037f015d5104dcb5106952a626e0c6e1fdf9a.tar.bz2 serverdata-9b8037f015d5104dcb5106952a626e0c6e1fdf9a.tar.xz serverdata-9b8037f015d5104dcb5106952a626e0c6e1fdf9a.zip |
For good measure
Diffstat (limited to 'npc')
-rw-r--r-- | npc/config/duplicates.txt | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/npc/config/duplicates.txt b/npc/config/duplicates.txt index 026499363..6eabefc61 100644 --- a/npc/config/duplicates.txt +++ b/npc/config/duplicates.txt @@ -8,6 +8,10 @@ OnInterIfInitOnce: // (dupe_name$, expire_tick) $@_DUPES = htnew(); + // Try again if it failed, or if ID is zero + if (!$@_DUPES) + $@_DUPES = htnew(); + debugmes "NPC Duplication database initiated at ID %d", $@_DUPES; end; OnInit: |