Fix type checker issue.

This commit is contained in:
Dan Albert 2021-07-13 17:08:37 -07:00
parent 587034ad03
commit 5f8be5fa91

View File

@ -97,6 +97,7 @@ class TheaterState(WorldState["TheaterState"]):
if target.control_point != control_point:
continue
if target.is_ammo_depot:
assert isinstance(target, BuildingGroundObject)
yield target
def clone(self) -> TheaterState: