Skip to content
This repository has been archived by the owner on Sep 8, 2023. It is now read-only.

Commit

Permalink
Topic fixes
Browse files Browse the repository at this point in the history
  • Loading branch information
AlexanDDOS committed Feb 17, 2019
1 parent b73e5fa commit b46db78
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions game/topics.rpy
Original file line number Diff line number Diff line change
Expand Up @@ -93,8 +93,8 @@ init -5 python:

def update_seen(self):
self.seen_len = len([x.seen for x in self.topics])
self.seen = seen_len > 0
self.all_seen = seen_len >= len(self.topics)
self.seen = self.seen_len > 0
self.all_seen = self.seen_len >= len(self.topics)

return self.seen, self.all_seen

Expand Down Expand Up @@ -178,6 +178,9 @@ init -5 python:
topic_cats[7].new_topic(_("Cupcakes"), 'cupcakes')
topic_cats[7].new_topic(_("Breakfast"), 'breakfest') #Save this typo here and below not to make me edit the mod translations

for i in topic_cats:
i.update_seen()

poems = TopicCategory('s_poems',_("Poems"))

poems.new_topic(None, 'sunshine', poem = poem_sunshine)
Expand Down
Binary file modified game/topics.rpyc
Binary file not shown.

0 comments on commit b46db78

Please sign in to comment.