mirror of
https://github.com/thepeacockproject/Peacock
synced 2024-11-22 22:12:45 +01:00
Peacock-52: Option to use legacy contract downloader in H3
Signed-off-by: Reece Dunham <me@rdil.rocks>
This commit is contained in:
parent
63b08dd99e
commit
a1b656d364
@ -1,4 +1,7 @@
|
||||
<?xml version="1.0" encoding="UTF-8"?>
|
||||
<project version="4">
|
||||
<component name="ProjectRootManager" version="2" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
||||
<component name="TaskProjectConfiguration">
|
||||
<server type="GitHub" url="https://github.com" />
|
||||
</component>
|
||||
</project>
|
@ -673,7 +673,10 @@ export class Controller {
|
||||
|
||||
let contractData: MissionManifest | undefined
|
||||
|
||||
if (gameVersion === "h3") {
|
||||
if (
|
||||
gameVersion === "h3" &&
|
||||
getFlag("legacyContractDownloader") !== true
|
||||
) {
|
||||
const result = await Controller._hitmapsFetchContract(pubId)
|
||||
|
||||
if (result) {
|
||||
|
@ -93,6 +93,10 @@ const defaultFlags: Flags = {
|
||||
desc: "[Development - Workspace required] Toggle loading of plugins with a .ts/.cts extension inside the /plugins folder",
|
||||
default: false,
|
||||
},
|
||||
legacyContractDownloader: {
|
||||
desc: "Use the legacy contract downloader in H3 - only works for the platform you are playing on.",
|
||||
default: false,
|
||||
},
|
||||
}
|
||||
|
||||
const OLD_FLAGS_FILE = "flags.json5"
|
||||
|
Loading…
Reference in New Issue
Block a user