high-score-board v2
This commit is contained in:
@@ -16,7 +16,7 @@ pub fn add_player(
|
||||
}
|
||||
|
||||
pub fn remove_player(score_board: ScoreBoard, player: String) -> ScoreBoard {
|
||||
dict.drop(score_board, [player])
|
||||
dict.delete(score_board, player)
|
||||
}
|
||||
|
||||
pub fn update_score(
|
||||
|
||||
Reference in New Issue
Block a user