diff options
author | Jesusaves <cpntb1@ymail.com> | 2023-12-05 01:36:19 -0300 |
---|---|---|
committer | Jesusaves <cpntb1@ymail.com> | 2023-12-05 01:36:19 -0300 |
commit | e51ff8eb6af4d3b00070fb1cfc5503715ef6c9f2 (patch) | |
tree | 2212cc0e64846ff6efa1bce75a493c47d9914359 | |
parent | d4cfd2b6e8b49c4c3af2626fa067c480ec7b2896 (diff) | |
download | serverdata-e51ff8eb6af4d3b00070fb1cfc5503715ef6c9f2.tar.gz serverdata-e51ff8eb6af4d3b00070fb1cfc5503715ef6c9f2.tar.bz2 serverdata-e51ff8eb6af4d3b00070fb1cfc5503715ef6c9f2.tar.xz serverdata-e51ff8eb6af4d3b00070fb1cfc5503715ef6c9f2.zip |
Make Global Instance Core slightly less vulnerable to char-server dc.
-rw-r--r-- | npc/functions/instances.txt | 6 |
1 files changed, 6 insertions, 0 deletions
diff --git a/npc/functions/instances.txt b/npc/functions/instances.txt index ed11167d5..aa679cb57 100644 --- a/npc/functions/instances.txt +++ b/npc/functions/instances.txt @@ -10,6 +10,12 @@ OnInit: end; OnInterIfInit: + // It shouldn't be harmful if it runs a few times too many + if ($@HHMD_INSTID2 && .HURNS_INSTID && isinstance(.NIVAL_INSTID) && isinstance($@HHMD_INSTID2)) { + consolebug("Refusing to recreate instances on char server restart! Additionally: Refusing to restart Heroes Hold!"); + end; + } + // Otherwise, really reload instances OnInstRestart: /* Nard's Ship */ // Candor Instance (we do all tests for debugmes here) |