game: fix: the board is draw with good angle
This commit is contained in:
parent
8da7e09af7
commit
ab73826c11
@ -42,7 +42,7 @@ class Game(AbstractRoom):
|
||||
|
||||
for i in range(nb_sides):
|
||||
|
||||
angle: float = (i * 2 * math.pi / nb_sides) + (math.pi * 3 / 4)
|
||||
angle: float = (i * 2 * math.pi / nb_sides) + (math.pi * 3 / nb_sides)
|
||||
|
||||
x: float = config.MAP_CENTER_X + radius * math.cos(angle)
|
||||
y: float = config.MAP_CENTER_Y + radius * math.sin(angle)
|
||||
|
Loading…
Reference in New Issue
Block a user