Skip to content
GitLab
Projects
Groups
Snippets
/
Help
Help
Support
Community forum
Keyboard shortcuts
?
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
Menu
Open sidebar
autumn_rrs
autumn_agent_2023
Commits
0ab8771d
Commit
0ab8771d
authored
Nov 15, 2023
by
k20066
Browse files
modify subscriber error
parent
a90fecd6
Changes
1
Hide whitespace changes
Inline
Side-by-side
src/main/java/autumn_2023/module/comm/CentralizedControlChannelSubscriber.java
View file @
0ab8771d
...
...
@@ -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
...
...
Write
Preview
Supports
Markdown
0%
Try again
or
attach a new file
.
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment