diff --git a/game/utils.py b/game/utils.py index 94cc04b51b..02eda5e4df 100644 --- a/game/utils.py +++ b/game/utils.py @@ -397,6 +397,9 @@ def __add__(self, other: Heading) -> Heading: def __sub__(self, other: Heading) -> Heading: return Heading.from_degrees(self.degrees - other.degrees) + def __str__(self) -> str: + return f"{self.heading_in_degrees}°" + @dataclass(frozen=True, order=True) class Pressure: