xuyuzhuang11 / Werewolf

MIT License
17 stars 0 forks source link

AttributeError: 'Werewolf' object has no attribute '_characters_bk' #2

Open chenboluo opened 3 hours ago

chenboluo commented 3 hours ago

image how can i fix that?

chenboluo commented 2 hours ago

i change the code player_role = self.environment._characters_bk[self.environment.player_names.index(player_name)] to player_role = self.environment._characters[self.environment.player_names.index(player_name)] Now the code can run, if I modify the problem, please correct me