Skip to content

Commit d464ef7

Browse files
Give unexpected humans a random spawn id (#108)
* Give unexpected humans a random spawn id * Bump version * Fix unit tests
1 parent 68f8e4c commit d464ef7

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
@@ -8,7 +8,7 @@
88

99
if (args.Length > 0 && args[0] == "--version")
1010
{
11-
Console.WriteLine("RLBotServer v5.beta.6.5");
11+
Console.WriteLine("RLBotServer v5.beta.6.6");
1212
Environment.Exit(0);
1313
}
1414

RLBotCS/lib/Bridge.dll

0 Bytes
Binary file not shown.

RLBotCSTests/PlayerMappingTest.cs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -51,7 +51,7 @@ public void TestSpawnProcess()
5151
Assert.AreEqual(0u, _playerMapping.PlayerIndexFromActorId(111));
5252
Assert.IsNotNull(index);
5353
Assert.AreEqual(0u, index);
54-
Assert.AreEqual(0, metadata2.SpawnId);
54+
Assert.AreNotEqual(0, metadata2.SpawnId);
5555
Assert.AreEqual(desiredIndex, _playerMapping.PlayerIndexFromActorId(actorId));
5656
Assert.IsTrue(!metadata2.IsBot);
5757
Assert.IsTrue(!metadata2.IsCustomBot);

0 commit comments

Comments
 (0)