Spaces:
Sleeping
Sleeping
Commit
·
024e4ed
1
Parent(s):
0bad7a3
refactor: add participation star badge for initiliazed player
Browse files
app.py
CHANGED
@@ -31,6 +31,8 @@ def get_player_info(player_backend_user_id):
|
|
31 |
init=True,
|
32 |
available_achievements=Achievement.get_available_achievements(),
|
33 |
)
|
|
|
|
|
34 |
return new_player.to_dict()
|
35 |
|
36 |
|
|
|
31 |
init=True,
|
32 |
available_achievements=Achievement.get_available_achievements(),
|
33 |
)
|
34 |
+
new_player.add_badge("participation_star")
|
35 |
+
|
36 |
return new_player.to_dict()
|
37 |
|
38 |
|