粮草先行:道具使用

This commit is contained in:
luying
2022-08-19 20:01:04 +08:00
parent cc591f582b
commit 3a7ae2ce10

View File

@@ -290,7 +290,7 @@ export class Event {
this.startDistance = distance;
this.endDistance = this.startDistance + dicEvent.continueDistance;
}
if(dicEvent.effectTime) {
if(dicEvent.continueTime) {
this.startTime = Date.now() + dicEvent.effectTime * 1000;
this.endTime = this.startTime + dicEvent.continueTime * 1000;
}