The extra game modes now use the battle rating the matching server computed for the lineup also out of a squad, so the local service decides it and the client no longer recomputes the lineup's rank. The scoreboard flag fallback and the countdown button patch keep their behaviour; their comments now state what the stock code does, why the fallback is needed before the first spawn, and that the countdown flicker's trigger on the host is still to be found.
23 lines
808 B
JSON
23 lines
808 B
JSON
// Keep the respawn countdown in the "Cancel" button text whenever the button text is rebuilt.
|
|
// Why the client: on a LocalMP host updateApplyText (scripts/respawn/respawn.nut) runs again during
|
|
// the countdown and resets the text to "Cancel", which updateCountdown turns back into "Cancel (N s)"
|
|
// on the next frame; the trigger on the host is not yet known.
|
|
// Without it: the button flickers between "Cancel" and "Cancel (N s)" while waiting to spawn.
|
|
{
|
|
"id": "battle/stabilize-respawn-countdown-button",
|
|
"title": "Keep the respawn countdown in the rebuilt Cancel button text",
|
|
"file": "scripts/respawn/respawn.nut",
|
|
"features": [
|
|
"K-出生点数 / 重生"
|
|
],
|
|
"verified_on": [
|
|
"2.61.0.37"
|
|
],
|
|
"edits": [
|
|
{
|
|
"find": "find.nut",
|
|
"replace": "replace.nut"
|
|
}
|
|
]
|
|
}
|