Fixed Actor.parent

Can be None or an Actor
This commit is contained in:
Daraan 2024-02-19 15:51:36 +01:00
parent c886ba9dca
commit 9e79280549
1 changed files with 1 additions and 1 deletions

View File

@ -101,7 +101,7 @@ class Actor():
...
@property
def parent() -> ["Actor"]:
def parent() -> Union["Actor", None]:
"""Actors may be attached to a parent actor that they will follow around. This is said actor."""
...