From 20871c3b735934af8c1183084e13088e2b26a844 Mon Sep 17 00:00:00 2001 From: urbaj-dr <110074842+urbaj-dr@users.noreply.github.com> Date: Sun, 16 Jun 2024 14:30:04 -0400 Subject: [PATCH] Update wild-monitor.lic --- wild-monitor.lic | 9 +++++++-- 1 file changed, 7 insertions(+), 2 deletions(-) diff --git a/wild-monitor.lic b/wild-monitor.lic index 2ec382d73e..710995b542 100644 --- a/wild-monitor.lic +++ b/wild-monitor.lic @@ -9,9 +9,14 @@ Flags.add('wild-end', /^Your attunement to the caustic mana streams is severed a while loop do if Flags['wild-start'] - until (@scripts_to_unpause = DRC.safe_pause_list) + pause_attempts = 0 + until (@scripts_to_unpause = DRC.safe_pause_list) || pause_attempts >= 10 pause 1 + pause_attempts += 1 end + if pause_attempts >= 10 + DRC.message("*** WARNING: UNABLE TO PAUSE OTHER SCRIPTS! WILD-MONITOR WILL ATTEMPT TO PROCEED ***") + end until Flags['wild-end'] if Script.running?('combat-trainer') @@ -38,4 +43,4 @@ while loop do DRC.safe_unpause_list @scripts_to_unpause end pause 1 -end \ No newline at end of file +end