Remove grid logs (#2994)

I added 2 of these and they aren't needed for me anymore.
This commit is contained in:
metalgearsloth
2022-06-28 17:53:26 +10:00
committed by GitHub
parent fb32b55584
commit 6b73b765b2
2 changed files with 1 additions and 4 deletions

View File

@@ -203,14 +203,12 @@ namespace Robust.Client.Graphics.Clyde
private void _updateOnGridCreated(GridStartupEvent ev)
{
var gridId = ev.GridId;
Logger.DebugS("grid", $"Adding {gridId} to grid renderer");
_mapChunkData.Add(gridId, new Dictionary<Vector2i, MapChunkData>());
}
private void _updateOnGridRemoved(GridRemovalEvent ev)
{
var gridId = ev.GridId;
Logger.DebugS("grid", $"Removing {gridId} from grid renderer");
var data = _mapChunkData[gridId];
foreach (var chunkDatum in data.Values)

View File

@@ -151,7 +151,7 @@ internal partial class MapManager
public IMapGrid GetGrid(EntityUid gridId)
{
DebugTools.Assert(gridId.IsValid());
return GetGridComp(gridId).Grid;
}
@@ -286,7 +286,6 @@ internal partial class MapManager
if (!GridExists(gridIndex))
return;
Logger.DebugS("map", $"Entity {comp.Owner} removed grid component, removing bound grid {gridIndex}");
DeleteGrid(gridIndex);
}