Skip to content

Commit 01133d4

Browse files
Revert "feat: run contracts added with addMission through fixContract"
This reverts commit c7fd61a.
1 parent c7fd61a commit 01133d4

1 file changed

Lines changed: 6 additions & 9 deletions

File tree

components/controller.ts

Lines changed: 6 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -822,16 +822,13 @@ export class Controller {
822822
return
823823
}
824824

825-
this.hooks.getContractManifest.tap(
826-
manifest.Metadata.Id,
827-
(id, gameVersion) => {
828-
if (id === manifest.Metadata.Id) {
829-
return this.fixContract(manifest, gameVersion)
830-
}
825+
this.hooks.getContractManifest.tap(manifest.Metadata.Id, (id) => {
826+
if (id === manifest.Metadata.Id) {
827+
return manifest
828+
}
831829

832-
return undefined
833-
},
834-
)
830+
return undefined
831+
})
835832
}
836833

837834
/**

0 commit comments

Comments
 (0)