feat(client): 锁定终局结果并接入 Windows 签名构建
- fix(match): 首次归零结束对局并撤销双方扣血许可,裁判结果同步后不再改判 - fix(hud): 蓝方低血量始终保留队伍颜色 - build(windows): 校验代码签名身份和时间戳,明确标注未签名测试包 - docs(version): 说明发布标签基线与语义版本迭代
This commit is contained in:
26 files changed
+823
-229
No files matched your search
@@ -135,7 +135,7 @@ fn spawn_armor(state: Arc<AppState>) {
|
||||
hits = [0, 1];
|
||||
dead_for = [0; 2];
|
||||
}
|
||||
let scripted = reset_epoch == 0 || state.demo_damage_enabled();
|
||||
let scripted = state.demo_damage_enabled();
|
||||
for (slot, (board, team, port)) in boards.iter().enumerate() {
|
||||
if scripted {
|
||||
ticks[slot] += 1;
|
||||
@@ -144,7 +144,7 @@ fn spawn_armor(state: Arc<AppState>) {
|
||||
if hp[slot] == 0 {
|
||||
// 打空之后停一会儿再重置:让界面上的胜负横幅真的能被看到。
|
||||
dead_for[slot] += 1;
|
||||
if reset_epoch == 0 && dead_for[slot] >= 10 {
|
||||
if reset_epoch == 0 && scripted && dead_for[slot] >= 10 {
|
||||
hp[slot] = 100;
|
||||
dead_for[slot] = 0;
|
||||
ticks[slot] = 0;
|
||||
|
||||
Reference in new issue
Block a user