Fixed startup and store in db.
This commit is contained in:
parent
73f201bdac
commit
b93f1d7ef1
15 changed files with 172 additions and 107 deletions
|
|
@ -75,10 +75,12 @@ public class No2AllReactWarpCore implements No2AllReact {
|
|||
try {
|
||||
toWarpFuel(slot).fire(event, slot);
|
||||
|
||||
List<BacklogEvent> backlog2 = new ArrayList<>(backlog);
|
||||
backlog.clear();
|
||||
for (BacklogEvent next : backlog2) {
|
||||
toWarpFuel(next.slot).fire(next.event, next.slot);
|
||||
while (!backlog.isEmpty()) {
|
||||
List<BacklogEvent> backlog2 = new ArrayList<>(backlog);
|
||||
backlog.clear();
|
||||
for (BacklogEvent next : backlog2) {
|
||||
toWarpFuel(next.slot).fire(next.event, next.slot);
|
||||
}
|
||||
}
|
||||
} finally {
|
||||
currentEvent = null;
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue