Refactor code structure for improved readability and maintainability
This commit is contained in:
@@ -177,8 +177,8 @@ namespace BaseGames.World.Map
|
||||
if (r != null && !string.IsNullOrEmpty(r.RoomId))
|
||||
_index.TryAdd(r.RoomId, r);
|
||||
}
|
||||
_index.TryGetValue(roomId, out var r);
|
||||
return r;
|
||||
_index.TryGetValue(roomId, out var result);
|
||||
return result;
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user