Skip to content
Merged
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
6 changes: 4 additions & 2 deletions scripts/autostart.lic
Original file line number Diff line number Diff line change
Expand Up @@ -9,10 +9,12 @@
contributors: Athias
game: any
tags: core
version: 0.69
version: 0.70
required: Lich >= 4.6.58

changelog:
0.70 (2026-05-07):
fix: use Script.run to block until dependency finishes before starting DR scripts
0.69 (2026-05-06):
fix: start dependency before autostart scripts so parse_args() bridge is available
0.68 (2026-05-05):
Expand Down Expand Up @@ -142,7 +144,7 @@ if script.vars.empty?
# dependency.lic defines the parse_args() bridge that DR scripts need.
if XMLData.game =~ /^DR/
if respond_to?(:start_scripts_if_available, true)
start_scripts_if_available('dependency') if Script.exists?('dependency')
Script.run('dependency') if Script.exists?('dependency') && !Script.running?('dependency')
did_something = true
else
# Legacy path: dependency.lic handles everything (script sync, autostarts, map edits)
Expand Down
Loading