Skip to content

Commit

Permalink
chore: remove unnecessary comments
Browse files Browse the repository at this point in the history
  • Loading branch information
haongo138 committed Dec 14, 2023
1 parent 190ad90 commit 43f1268
Showing 1 changed file with 0 additions and 3 deletions.
3 changes: 0 additions & 3 deletions server/src/actors/store_actor.rs
Original file line number Diff line number Diff line change
Expand Up @@ -79,9 +79,6 @@ impl Handler<GetMultiplePlayerInfo> for StoreActor {
for key in msg.player_ids {
let hash_key: String = format!("player:{}:info", key);
let player_info: HashMap<String, String> = con.hgetall(&hash_key)?;

// If you need to filter out empty rooms, you can add a condition here.
// For example, you can check if room_data is not empty before inserting into results.
results.insert(key.clone(), serde_json::to_string(&player_info).unwrap());
}

Expand Down

0 comments on commit 43f1268

Please sign in to comment.