Files
WT-Offline/patches/gui/battle/lock-single-slot-lineup/patch.jsonc
T
N0VAN0M4LY 7ba66340b6 fix(battle): enforce single-sortie Air Realistic rules
Carry the queued aircraft and crew index into LocalMP, apply the native single-spawn limits to players and aircraft bots, and disable spares for single-slot modes.

Verified with root and launcher type checks, check-patches and check-gui for 2.61.0.37 and 2.61.0.43, and an isolated launch-payload check.
2026-12-01 12:05:42 +08:00

20 lines
822 B
JSON

// Feed the matched crew slot into the stock respawn and slot bar availability checks.
// The queued aircraft is known to the offline server, but LocalMP does not receive a matchmaking slot mask.
// Without this bridge, the LocalMP host can offer the rest of the player's lineup in a single-slot battle.
{
"id": "battle/lock-single-slot-lineup",
"title": "Restrict single-slot battles to the queued aircraft",
"features": ["K-Spawn score and respawns"],
"variants": [
{
"written_for": "2.61.0.37",
"file": "scripts/respawn/respawnstate.nut",
"edits": [
{ "find": "find-import.nut", "replace": "replace-import.nut" },
{ "find": "find-mask.nut", "replace": "replace-mask.nut" },
{ "find": "find-crew-check.nut", "replace": "replace-crew-check.nut" }
]
}
]
}