Add update alerts and leaderboard filters
This commit is contained in:
1 parent
178a6bbc85
commit
6124331067
6 files changed
+239
-44
No files matched your search
+4
-1
@@ -215,7 +215,10 @@ func load_leaderboard(map_index: int, difficulty_index: int, endless: bool, limi
|
||||
"username": str(current_names.get(record.owner_id, record.username)),
|
||||
"score": int(record.score),
|
||||
"wave": int(record.subscore),
|
||||
"owner_id": record.owner_id
|
||||
"owner_id": record.owner_id,
|
||||
"map": map_index,
|
||||
"difficulty": difficulty_index,
|
||||
"mode": "endless" if endless else "mission"
|
||||
})
|
||||
leaderboard_loaded.emit(leaderboard_id, rows)
|
||||
return rows
|
||||
|
||||
Reference in new issue
Block a user