Skip to content

Commit

Permalink
Update wild-monitor.lic
Browse files Browse the repository at this point in the history
  • Loading branch information
urbaj-dr authored Jun 16, 2024
1 parent c9b0e40 commit 20871c3
Showing 1 changed file with 7 additions and 2 deletions.
9 changes: 7 additions & 2 deletions wild-monitor.lic
Original file line number Diff line number Diff line change
Expand Up @@ -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')
Expand All @@ -38,4 +43,4 @@ while loop do
DRC.safe_unpause_list @scripts_to_unpause
end
pause 1
end
end

0 comments on commit 20871c3

Please sign in to comment.