diff options
| author | Valentin Popov <valentin@popov.link> | 2026-11-14 12:52:44 +0300 |
|---|---|---|
| committer | Valentin Popov <valentin@popov.link> | 2026-11-14 12:52:44 +0300 |
| commit | 1b7a5a9c149270e9046a86590e7d0d62116eec5f (patch) | |
| tree | 8f915aec352180537f16634ab90047461f38dbab /crates/fparkan-script/src/lib.rs | |
| parent | 0a70413dffce6ff2f2b91488ec62fc88acce8623 (diff) | |
| download | fparkan-1b7a5a9c149270e9046a86590e7d0d62116eec5f.tar.xz fparkan-1b7a5a9c149270e9046a86590e7d0d62116eec5f.zip | |
feat(runtime): enable the Teleport mobile HQ objective
Diffstat (limited to 'crates/fparkan-script/src/lib.rs')
| -rw-r--r-- | crates/fparkan-script/src/lib.rs | 7 |
1 files changed, 7 insertions, 0 deletions
diff --git a/crates/fparkan-script/src/lib.rs b/crates/fparkan-script/src/lib.rs index c69b393c..cacbbd5b 100644 --- a/crates/fparkan-script/src/lib.rs +++ b/crates/fparkan-script/src/lib.rs @@ -898,6 +898,13 @@ impl VarSet { clan_count: impl Fn(u32, u32) -> Option<u32>, ) -> Result<InitInstructionResolution, ScriptInitResolveError> { match instruction.dispatch_selector() { + ScriptDispatchSelector::Handler(0) + if instruction.header_words[3] == u32::MAX + && instruction.header_words[1] == u32::MAX => + { + // Init already runs against the current clan's context; no result is saved. + Ok(InitInstructionResolution::Executed(Vec::new())) + } ScriptDispatchSelector::Handler(19) => { if instruction.header_words[3] != u32::MAX { return Ok(InitInstructionResolution::Unsupported( |
