Skip to content

Commit 341fc55

Browse files
committed
Fix spelling
1 parent 3a1ca9c commit 341fc55

File tree

4 files changed

+11
-8
lines changed

4 files changed

+11
-8
lines changed

pyproject.toml

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@ description = "A high performance Python interface for communicating with RLBot
88
dynamic = ["version"]
99
requires-python = ">= 3.11"
1010
dependencies = [
11-
"rlbot_flatbuffers~=0.9.0",
11+
"rlbot_flatbuffers~=0.9.1",
1212
"psutil==6.*",
1313
]
1414
readme = "README.md"

rlbot/managers/bot.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -29,7 +29,7 @@ class Bot:
2929
_has_field_info = False
3030

3131
_latest_packet: Optional[flat.GameTickPacket] = None
32-
_lastest_prediction = flat.BallPrediction()
32+
_latest_prediction = flat.BallPrediction()
3333

3434
def __init__(self):
3535
spawn_id = os.environ.get("RLBOT_SPAWN_IDS")
@@ -97,7 +97,7 @@ def _handle_field_info(self, field_info: flat.FieldInfo):
9797
self._initialize_agent()
9898

9999
def _handle_ball_prediction(self, ball_prediction: flat.BallPrediction):
100-
self._lastest_prediction = ball_prediction
100+
self._latest_prediction = ball_prediction
101101

102102
def _handle_packet(self, packet: flat.GameTickPacket):
103103
self._latest_packet = packet
@@ -134,7 +134,7 @@ def _packet_processor(self, packet: flat.GameTickPacket):
134134
if self.index == -1:
135135
return
136136

137-
self.ball_prediction = self._lastest_prediction
137+
self.ball_prediction = self._latest_prediction
138138

139139
try:
140140
controller = self.get_output(packet)

rlbot/managers/hivemind.py

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -31,7 +31,7 @@ class Hivemind:
3131
_has_field_info = False
3232

3333
_latest_packet: Optional[flat.GameTickPacket] = None
34-
_lastest_prediction = flat.BallPrediction()
34+
_latest_prediction = flat.BallPrediction()
3535

3636
def __init__(self):
3737
spawn_ids = os.environ.get("RLBOT_SPAWN_IDS")
@@ -92,7 +92,7 @@ def _handle_field_info(self, field_info: flat.FieldInfo):
9292
self._initialize_agent()
9393

9494
def _handle_ball_prediction(self, ball_prediction: flat.BallPrediction):
95-
self._lastest_prediction = ball_prediction
95+
self._latest_prediction = ball_prediction
9696

9797
def _handle_packet(self, packet: flat.GameTickPacket):
9898
self._latest_packet = packet
@@ -110,7 +110,7 @@ def _packet_processor(self, packet: flat.GameTickPacket):
110110
if len(self.indicies) != len(self.spawn_ids):
111111
return
112112

113-
self.ball_prediction = self._lastest_prediction
113+
self.ball_prediction = self._latest_prediction
114114

115115
try:
116116
controller = self.get_outputs(packet)

rlbot/version.py

Lines changed: 4 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
1-
__version__ = "5.0.0-beta.6"
1+
__version__ = "5.0.0-beta.7"
22

33

44
RESET_SEQ = "\033[0m"
@@ -15,6 +15,9 @@ def _get_color(color: int) -> str:
1515
)
1616

1717
RELEASE_NOTES = {
18+
"5.0.0-beta.7": """
19+
Fix spelling error in spec
20+
""",
1821
"5.0.0-beta.6": """
1922
Update to new sockets spec
2023
""",

0 commit comments

Comments
 (0)