Skip to content

Commit

Permalink
changed percentage for fight club to have joust music to 20 percent
Browse files Browse the repository at this point in the history
  • Loading branch information
adangert committed Nov 29, 2021
1 parent 74e0b4d commit 393fefc
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion piparty.py
Original file line number Diff line number Diff line change
Expand Up @@ -998,7 +998,7 @@ def start_game(self, random_mode=False):
swapper.Swapper(game_moves, self.command_queue, self.ns, self.joust_music, \
self.swapper_team_colors, self.dead_moves, self.music_speed, self.force_color, self.five_controller_opts, self.controller_teams, self.restart)
elif self.game_mode == common.Games.FightClub:
if random.randint(0,1)==1:
if random.random() > 0.2:
fight_music = self.commander_music
else:
fight_music = self.joust_music
Expand Down

0 comments on commit 393fefc

Please sign in to comment.