Fix setting troll in world

This commit is contained in:
2023-06-14 19:38:47 -05:00
parent d79427431e
commit 679cecbe28
4 changed files with 5 additions and 3 deletions

View File

@@ -187,7 +187,7 @@ class World(object):
if self.goal[player] == 'completionist':
self.accessibility[player] = 'locations'
if self.trolls[player]:
self.can_take_damage[player] = False
self.can_take_damage = False
def get_name_string_for_object(self, obj):
return obj.name if self.players == 1 else f'{obj.name} ({self.get_player_names(obj.player)})'