Skip to content

Commit f4c067e

Browse files
author
Joachim Hofer
committed
removed putting name into the bot's React message twice
1 parent 234291c commit f4c067e

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

Scalatron/src/scalatron/botwar/Board.scala

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ case class Board(
7676
def addBotThatIsMaster(pos: XY, creationTime: Time, controlFunction: (String => String), plugin: Plugin) : Board =
7777
copy(nextId = nextId + 1, bots = bots.updated(nextId,
7878
Bot(nextId, pos, XY.One, creationTime, Time.SomtimeInThePast, Constants.Energy.Initial,
79-
Bot.Player(controlFunction, plugin, Bot.MasterGeneration, nextId, (0,2), 0L, "", Iterable.empty, Map(Protocol.PropertyName.Name -> plugin.name))
79+
Bot.Player(controlFunction, plugin, Bot.MasterGeneration, nextId, (0,2), 0L, "", Iterable.empty, Map())
8080
)))
8181

8282
def sprinkle(count: Int, rnd: Random, creationTime: Time, boardSize: XY, variety: Bot.Variety) =

0 commit comments

Comments
 (0)