diff --git a/src/main/java/club/joylink/rtss/simulation/cbtc/GroupSimulationServiceImpl.java b/src/main/java/club/joylink/rtss/simulation/cbtc/GroupSimulationServiceImpl.java index 8b49c5340..0ed3cc339 100644 --- a/src/main/java/club/joylink/rtss/simulation/cbtc/GroupSimulationServiceImpl.java +++ b/src/main/java/club/joylink/rtss/simulation/cbtc/GroupSimulationServiceImpl.java @@ -635,7 +635,9 @@ public class GroupSimulationServiceImpl implements GroupSimulationService { storageSimulation.recover2Simulation(simulation); atsMessageCollectAndDispatcher.collectAllAndSend(simulation); simulationLifeCycleService.resume(simulation); - this.applicationContext.publishEvent(new SimulationRunPlanReloadEvent(this, simulation)); + if (simulation.isPlanLoaded()) { + this.applicationContext.publishEvent(new SimulationRunPlanReloadEvent(this, simulation)); + } this.applicationContext.publishEvent(new SimulationScenesReloadEvent(this, simulation)); atsMessageCollectAndDispatcher.syncTime(simulation); }