diff --git a/game/commander/theaterstate.py b/game/commander/theaterstate.py index e04a13a3..4450c95b 100644 --- a/game/commander/theaterstate.py +++ b/game/commander/theaterstate.py @@ -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: