0.1.39 P3: worldsim tick 入口双闸守卫 + 关停冻结测试(4 例全绿)
This commit is contained in:
@@ -25,6 +25,10 @@ export class WorldSim {
|
||||
}
|
||||
|
||||
tick(): void {
|
||||
// 0.1.39 根治双闸:clocks.ts 外部守卫 + 此处入口二次守卫。
|
||||
// 与 tournament/apprentice 等系统卡同模式(sysEnabled ?? true 兜底,
|
||||
// 注册后默认开、关停后 false)。防止未来新增直接调 tick() 的路径绕过守卫。
|
||||
if (!this.w.sysEnabled('worldsim')) return
|
||||
const s = this.s()
|
||||
const rng = this.w.rng
|
||||
// ---- C. 灵气潮汐(大周期) ----
|
||||
|
||||
Reference in New Issue
Block a user