[fix] Fixed an issue that ProcessOperation wouldn't be called when the operation is in first frame.
This commit is contained in:
parent
803b4132af
commit
94efeb6120
@ -45,6 +45,7 @@ abstract class AbstractScheduledController : ScheduledControllerInterface {
|
|||||||
const next_operation = &operations_[next_operation_index_];
|
const next_operation = &operations_[next_operation_index_];
|
||||||
if (IsTimeInPeriod(time, next_operation.period)) {
|
if (IsTimeInPeriod(time, next_operation.period)) {
|
||||||
PrepareOperation(*next_operation);
|
PrepareOperation(*next_operation);
|
||||||
|
ProcessOperation(*next_operation);
|
||||||
++next_operation_index_;
|
++next_operation_index_;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user