From feece23330cbffe9fa291aef5869f0efe5ee3761 Mon Sep 17 00:00:00 2001 From: Vasilis Valatsos Date: Thu, 7 Mar 2024 10:35:09 +0200 Subject: [PATCH] Fixed other bug --- entities/player.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/entities/player.py b/entities/player.py index b5b5731..e7c0c94 100644 --- a/entities/player.py +++ b/entities/player.py @@ -180,7 +180,7 @@ class Player(pygame.sprite.Sprite): # nearest_enemy.stats.exp # ]) - for distance, direction, enemy in sorted_distances[:5]: + for distance, direction, enemy in sorted_distances[:5]: self.state_features.extend([ distance/np.sqrt(np.sum(self.map_edge)),