mirror of
https://gitee.com/dgflash/oops-plugin-framework.git
synced 2026-05-30 18:39:18 +08:00
修复时间管理从后台恢复时计算错误问题
This commit is contained in:
@@ -194,7 +194,7 @@ export class TimerManager extends Component {
|
||||
}
|
||||
}
|
||||
|
||||
/** 游戏最大化时回复时间数据 */
|
||||
/** 游戏最大化时恢复时间数据 */
|
||||
load(): void {
|
||||
for (let key in this.times) {
|
||||
let data = this.times[key];
|
||||
@@ -204,9 +204,6 @@ export class TimerManager extends Component {
|
||||
data.object[data.field] = 0;
|
||||
this.onTimerComplete(data);
|
||||
}
|
||||
else {
|
||||
data.object[data.field] = 0;
|
||||
}
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in New Issue
Block a user