mirror of
https://github.com/thepeacockproject/Peacock
synced 2025-03-21 00:04:22 +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
3
.idea/misc.xml
generated
3
.idea/misc.xml
generated
@ -1,4 +1,7 @@
|
|||||||
<?xml version="1.0" encoding="UTF-8"?>
|
<?xml version="1.0" encoding="UTF-8"?>
|
||||||
<project version="4">
|
<project version="4">
|
||||||
<component name="ProjectRootManager" version="2" project-jdk-name="1.8" project-jdk-type="JavaSDK" />
|
<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>
|
</project>
|
@ -673,7 +673,10 @@ export class Controller {
|
|||||||
|
|
||||||
let contractData: MissionManifest | undefined
|
let contractData: MissionManifest | undefined
|
||||||
|
|
||||||
if (gameVersion === "h3") {
|
if (
|
||||||
|
gameVersion === "h3" &&
|
||||||
|
getFlag("legacyContractDownloader") !== true
|
||||||
|
) {
|
||||||
const result = await Controller._hitmapsFetchContract(pubId)
|
const result = await Controller._hitmapsFetchContract(pubId)
|
||||||
|
|
||||||
if (result) {
|
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",
|
desc: "[Development - Workspace required] Toggle loading of plugins with a .ts/.cts extension inside the /plugins folder",
|
||||||
default: false,
|
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"
|
const OLD_FLAGS_FILE = "flags.json5"
|
||||||
|
Loading…
x
Reference in New Issue
Block a user