Skip to content

Commit 3fc04a9

Browse files
committed
Fix render test
1 parent 201bec6 commit 3fc04a9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

tests/render_test/render.py

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -25,7 +25,7 @@ def handle_packet(self, packet: flat.GamePacket):
2525

2626
radius = 0
2727
if len(packet.balls) > 0:
28-
match packet.balls[0].shape.item:
28+
match packet.balls[0].shape:
2929
case flat.SphereShape() | flat.CylinderShape() as shape:
3030
radius = shape.diameter / 2
3131
case flat.BoxShape() as shape:

0 commit comments

Comments
 (0)