Skip to content

Commit 3be34e9

Browse files
authored
Merge pull request #131 from RLBot/goals
Reset goals between matches
2 parents 7385876 + 4fd158d commit 3be34e9

File tree

3 files changed

+2
-2
lines changed

3 files changed

+2
-2
lines changed

RLBotCS/Main.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -10,7 +10,7 @@
1010
if (args.Length > 0 && args[0] == "--version")
1111
{
1212
Console.WriteLine(
13-
"RLBotServer v5.beta.7.5\n"
13+
"RLBotServer v5.beta.7.6\n"
1414
+ $"Bridge {BridgeVersion.Version}\n"
1515
+ "@ https://www.rlbot.org & https://github.com/RLBot/core"
1616
);

RLBotCS/Server/ServerMessage/DistributeFieldInfo.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ public ServerAction Execute(ServerContext context)
1414
Goals = new List<GoalInfoT>(GameState.Goals.Count),
1515
};
1616

17-
foreach (GoalInfo goal in GameState.Goals)
17+
foreach (GoalInfo goal in GameState.Goals.Values)
1818
{
1919
context.FieldInfo.Goals.Add(
2020
new GoalInfoT

RLBotCS/lib/Bridge.dll

0 Bytes
Binary file not shown.

0 commit comments

Comments
 (0)