\r
# Weapon names changed for 0.8. We'll convert the old\r
# ones to use the new scheme as well.\r
- weapon_cd = weapon_map.get(weapon_cd, weapon_cd)\r
+ mapped_weapon_cd = weapon_map.get(weapon_cd, weapon_cd)\r
\r
seq = Sequence('player_weapon_stats_player_weapon_stats_id_seq')\r
pwstat_id = session.execute(seq)\r
pwstat.player_id = player.player_id\r
pwstat.game_id = game.game_id\r
pwstat.player_game_stat_id = pgstat.player_game_stat_id\r
- pwstat.weapon_cd = weapon_cd\r
+ pwstat.weapon_cd = mapped_weapon_cd\r
\r
if 'n' in events:\r
pwstat.nick = events['n']\r