Skip to content

Commit

Permalink
fix: StoryPartAutoData special to_json加入char
Browse files Browse the repository at this point in the history
  • Loading branch information
sctop committed Jun 15, 2024
1 parent 9e7c1a0 commit b1c9ae5
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 2 deletions.
2 changes: 1 addition & 1 deletion data
Submodule data updated 110 files
6 changes: 5 additions & 1 deletion data_model/actual_data/_story/story_part_auto.py
Original file line number Diff line number Diff line change
Expand Up @@ -189,10 +189,14 @@ def to_json(self):
"char_to_char": self.data["char_to_char"],
"special": {
"flag": self.data_special["flag"],
"track": None if self.data_special["track"] is None else self.data_special["track"].to_json_basic()
"track": None if self.data_special["track"] is None else self.data_special["track"].to_json_basic(),
"char": self.data_special["char"]
}
}

def to_json_basic(self):
return self.to_json()

@property
def bgm_special(self):
# see this traceback:
Expand Down

0 comments on commit b1c9ae5

Please sign in to comment.