From c26a737867a3ffcb89099faf9e155cd6bc7a3b4c Mon Sep 17 00:00:00 2001 From: k20066 <87357429+k20066@users.noreply.github.com> Date: Wed, 15 Nov 2023 23:54:04 +0900 Subject: [PATCH] complete --- .../module/comm/CentralizedControlChannelSubscriber.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/main/java/autumn_2023/module/comm/CentralizedControlChannelSubscriber.java b/src/main/java/autumn_2023/module/comm/CentralizedControlChannelSubscriber.java index e945e7b..9a9b05e 100644 --- a/src/main/java/autumn_2023/module/comm/CentralizedControlChannelSubscriber.java +++ b/src/main/java/autumn_2023/module/comm/CentralizedControlChannelSubscriber.java @@ -13,7 +13,7 @@ public class CentralizedControlChannelSubscriber extends ChannelSubscriber { public void subscribe(AgentInfo agentInfo, WorldInfo worldInfo, ScenarioInfo scenarioInfo, MessageManager messageManager) { // subscribe only once at the beginning - if (agentInfo.getTime() == 1) { + if (agentInfo.getTime() == scenarioInfo.getKernelAgentsIgnoreuntil()) { int numChannels = scenarioInfo.getCommsChannelsCount() - 1; // 0th channel // is the // voice -- GitLab