diff --git a/nmmo/core/env.py b/nmmo/core/env.py index 9f679346..4c65708d 100644 --- a/nmmo/core/env.py +++ b/nmmo/core/env.py @@ -366,10 +366,10 @@ def _compute_observations(self): market = Item.Query.for_sale(self.realm.datastore) # the same for all agents # dummy obs - dummy_tiles = np.zeros((1, len(Tile.State.attr_name_to_col))) - dummy_entities = np.zeros((1, len(Entity.State.attr_name_to_col))) - dummy_inventory = np.zeros((1, len(Item.State.attr_name_to_col))) - dummy_market = np.zeros((1, len(Item.State.attr_name_to_col))) + dummy_tiles = np.zeros((0, len(Tile.State.attr_name_to_col))) + dummy_entities = np.zeros((0, len(Entity.State.attr_name_to_col))) + dummy_inventory = np.zeros((0, len(Item.State.attr_name_to_col))) + dummy_market = np.zeros((0, len(Item.State.attr_name_to_col))) for agent_id in self.agents: if agent_id not in self.realm.players: