Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
Fixing Demoman -> Demo when building tf2 item database
  • Loading branch information
Smashman committed Jul 13, 2017
1 parent 7529cef commit e33bef8
Showing 1 changed file with 4 additions and 1 deletion.
5 changes: 4 additions & 1 deletion app/scripts/scripts.py
Expand Up @@ -127,7 +127,10 @@ def update_tf2_items():
if class_model is None:
basename = model_player_per_class.get("basename")
if basename:
class_model = basename.replace("%s", tf2_class)
basename_class = tf2_class
if basename_class == "demoman":
basename_class = "demo"
class_model = basename.replace("%s", basename_class)
elif model_player:
#class_model = model_player
continue
Expand Down

0 comments on commit e33bef8

Please sign in to comment.