Skip to content

Commit

Permalink
adding cases for DRF and DRX
Browse files Browse the repository at this point in the history
  • Loading branch information
MahtraDR committed Dec 12, 2024
1 parent 3c9d1bb commit fa22797
Showing 1 changed file with 8 additions and 1 deletion.
9 changes: 8 additions & 1 deletion dependency.lic
Original file line number Diff line number Diff line change
Expand Up @@ -31,7 +31,14 @@ end
unless Settings['dependency_version'] == $DEPENDENCY_VERSION
echo("New dependency version detected. Resetting repository auto-update settings.")
Script.start("repository", "reset-update-settings")
Script.start("repository", "unset-mapdb-updatable") unless XMLData.game == "DR"
if XMLData.game == "DRX" || XMLData.game == "DRF"
if XMLData.game == "DRX"
echo("DR Plat instance detected. Setting map to not auto-update.")
elsif XMLData.game == "DRF"
echo("DR Fallen instance detected. Setting map to not auto-update.")
end
Script.start("repository", "unset-mapdb-updatable")
end
Settings['dependency_version'] = $DEPENDENCY_VERSION
Settings.save
end
Expand Down

0 comments on commit fa22797

Please sign in to comment.