粮草先行:道具使用
This commit is contained in:
@@ -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;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user