Fixed other bug
This commit is contained in:
parent
23eed41313
commit
feece23330
1 changed files with 1 additions and 1 deletions
|
@ -180,7 +180,7 @@ class Player(pygame.sprite.Sprite):
|
||||||
# nearest_enemy.stats.exp
|
# nearest_enemy.stats.exp
|
||||||
# ])
|
# ])
|
||||||
|
|
||||||
for distance, direction, enemy in sorted_distances[:5]:
|
for distance, direction, enemy in sorted_distances[:5]:
|
||||||
self.state_features.extend([
|
self.state_features.extend([
|
||||||
|
|
||||||
distance/np.sqrt(np.sum(self.map_edge)),
|
distance/np.sqrt(np.sum(self.map_edge)),
|
||||||
|
|
Loading…
Reference in a new issue