Skip to content

Commit

Permalink
Merge pull request #14 from neph1/char-builder-hot-fix
Browse files Browse the repository at this point in the history
fix char builder
  • Loading branch information
neph1 authored Aug 27, 2023
2 parents 42329ab + 15e51b5 commit edc76b9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tale/charbuilder.py
Original file line number Diff line number Diff line change
Expand Up @@ -73,7 +73,7 @@ def build_character(self) -> Generator:
self.conn.player.tell("You can choose one of the following races: " + lang.join(self.config.playable_races))
race = yield "input", ("What should be the race of your player character?", ValidRaceValidator(self.config.playable_races))
else:
race = self.config.playable_races[0]
race = self.config.playable_races.pop()
self.naming.gender = yield "input", ("What is the gender of your character (m/f)?", lang.validate_gender_mf)
self.naming.stats = Stats.from_race(race, gender=self.naming.gender)
self.naming.description = "A regular person." if self.naming.stats.race == "human" else "A weird creature."
Expand Down

0 comments on commit edc76b9

Please sign in to comment.