Skip to content

Commit

Permalink
Refactor character relationship handling
Browse files Browse the repository at this point in the history
  • Loading branch information
KiloOscarSix committed Feb 13, 2024
1 parent 256aae3 commit 49756d0
Showing 1 changed file with 0 additions and 6 deletions.
6 changes: 0 additions & 6 deletions CharacterService_ren.py
Original file line number Diff line number Diff line change
Expand Up @@ -71,12 +71,6 @@ def set_relationship(
if isinstance(target.relationships, set):
target.relationships = {r: Relationship.FWB for r in target.relationships}

if (
character.relationships.setdefault(target, Relationship.FRIEND)
== relationship
):
return

character.relationships[target] = relationship
target.relationships[character] = relationship

Expand Down

0 comments on commit 49756d0

Please sign in to comment.