Skip to content

Commit

Permalink
Fixes #152 show weight of baubles carried in BaubleHunt
Browse files Browse the repository at this point in the history
  • Loading branch information
hawkerm committed Jun 3, 2017
1 parent 90ca9df commit f6c80a2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion SBA_Serv/Game/BaubleHunt.py
Original file line number Diff line number Diff line change
Expand Up @@ -195,7 +195,7 @@ def game_get_extra_radar_info(self, obj, objdata, player):
objdata["VALUE"] = self.get_player_cargo_value(obj.player)

def player_get_stat_string(self, player):
return str(int(player.score)) + " in " + str(player.totalcollected) + " : " + player.name + " c.v. " + str(sum(b.value for b in player.carrying)) + " in " + str(len(player.carrying))
return str(int(player.score)) + " w/ " + str(player.totalcollected) + " : " + player.name + " c.v. " + str(self.get_player_cargo_value(player)) + " in " + str(self.get_player_cargo_weight(player))

def gui_draw_game_world_info(self, surface, flags, trackplayer):
for player in self.game_get_current_player_list():
Expand Down

0 comments on commit f6c80a2

Please sign in to comment.