Skip to content

Commit

Permalink
fixed target checking target
Browse files Browse the repository at this point in the history
  • Loading branch information
KiloOscarSix committed Apr 24, 2023
1 parent f9beca0 commit 91ebb0c
Showing 1 changed file with 6 additions and 6 deletions.
12 changes: 6 additions & 6 deletions CharacterService_ren.py
Original file line number Diff line number Diff line change
Expand Up @@ -114,7 +114,7 @@ def is_girlfriend(
target = store.mc

return CharacterService.has_relationship(
target, Relationship.GIRLFRIEND, store.mc
character, Relationship.GIRLFRIEND, target
)

@staticmethod
Expand All @@ -124,7 +124,7 @@ def is_fwb(
if target is None:
target = store.mc

return CharacterService.has_relationship(target, Relationship.FWB, store.mc)
return CharacterService.has_relationship(character, Relationship.FWB, target)

@staticmethod
def is_dating(
Expand All @@ -133,7 +133,7 @@ def is_dating(
if target is None:
target = store.mc

return CharacterService.has_relationship(target, Relationship.DATING, store.mc)
return CharacterService.has_relationship(character, Relationship.DATING, target)

@staticmethod
def is_kissed(
Expand All @@ -142,7 +142,7 @@ def is_kissed(
if target is None:
target = store.mc

return CharacterService.has_relationship(target, Relationship.KISSED, store.mc)
return CharacterService.has_relationship(character, Relationship.KISSED, target)

@staticmethod
def is_friend(
Expand All @@ -151,7 +151,7 @@ def is_friend(
if target is None:
target = store.mc

return CharacterService.has_relationship(target, Relationship.FRIEND, store.mc)
return CharacterService.has_relationship(character, Relationship.FRIEND, target)

@staticmethod
def is_ex(
Expand All @@ -160,7 +160,7 @@ def is_ex(
if target is None:
target = store.mc

return CharacterService.has_relationship(target, Relationship.EX, store.mc)
return CharacterService.has_relationship(character, Relationship.EX, target)

@staticmethod
def is_mad(character: NonPlayableCharacter) -> bool:
Expand Down

0 comments on commit 91ebb0c

Please sign in to comment.