mirror of
https://github.com/space-wizards/RobustToolbox.git
synced 2026-02-15 03:30:53 +01:00
Remove grid logs (#2994)
I added 2 of these and they aren't needed for me anymore.
This commit is contained in:
@@ -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)
|
||||
|
||||
@@ -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);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user