From 5de9228c40d6c22cfaa3fd43a717d124c30c47e2 Mon Sep 17 00:00:00 2001 From: metalgearsloth <31366439+metalgearsloth@users.noreply.github.com> Date: Fri, 2 Apr 2021 20:29:19 +1100 Subject: [PATCH] Content grid-trees (#3750) * Content grid-trees * Update submodule --- .../GameObjects/EntitySystems/AtmosDebugOverlaySystem.cs | 2 +- .../GameObjects/EntitySystems/GasTileOverlaySystem.cs | 2 +- .../AI/Pathfinding/Accessible/AiReachableSystem.cs | 2 +- .../EntitySystems/AI/Pathfinding/PathfindingSystem.cs | 2 +- .../GameObjects/EntitySystems/Atmos/GasTileOverlaySystem.cs | 2 +- RobustToolbox | 2 +- 6 files changed, 6 insertions(+), 6 deletions(-) diff --git a/Content.Client/GameObjects/EntitySystems/AtmosDebugOverlaySystem.cs b/Content.Client/GameObjects/EntitySystems/AtmosDebugOverlaySystem.cs index 54846755b2..880475471e 100644 --- a/Content.Client/GameObjects/EntitySystems/AtmosDebugOverlaySystem.cs +++ b/Content.Client/GameObjects/EntitySystems/AtmosDebugOverlaySystem.cs @@ -72,7 +72,7 @@ namespace Content.Client.GameObjects.EntitySystems _tileData.Clear(); } - private void OnGridRemoved(GridId gridId) + private void OnGridRemoved(MapId mapId, GridId gridId) { if (_tileData.ContainsKey(gridId)) { diff --git a/Content.Client/GameObjects/EntitySystems/GasTileOverlaySystem.cs b/Content.Client/GameObjects/EntitySystems/GasTileOverlaySystem.cs index 21b96cbee2..2efe25f0e9 100644 --- a/Content.Client/GameObjects/EntitySystems/GasTileOverlaySystem.cs +++ b/Content.Client/GameObjects/EntitySystems/GasTileOverlaySystem.cs @@ -131,7 +131,7 @@ namespace Content.Client.GameObjects.EntitySystems overlayManager.RemoveOverlay(); } - private void OnGridRemoved(GridId gridId) + private void OnGridRemoved(MapId mapId, GridId gridId) { if (_tileData.ContainsKey(gridId)) { diff --git a/Content.Server/GameObjects/EntitySystems/AI/Pathfinding/Accessible/AiReachableSystem.cs b/Content.Server/GameObjects/EntitySystems/AI/Pathfinding/Accessible/AiReachableSystem.cs index 7bef2dd87d..dea1ad68ef 100644 --- a/Content.Server/GameObjects/EntitySystems/AI/Pathfinding/Accessible/AiReachableSystem.cs +++ b/Content.Server/GameObjects/EntitySystems/AI/Pathfinding/Accessible/AiReachableSystem.cs @@ -90,7 +90,7 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Pathfinding.Accessible _mapManager.OnGridRemoved += GridRemoved; } - private void GridRemoved(GridId gridId) + private void GridRemoved(MapId mapId, GridId gridId) { _regions.Remove(gridId); } diff --git a/Content.Server/GameObjects/EntitySystems/AI/Pathfinding/PathfindingSystem.cs b/Content.Server/GameObjects/EntitySystems/AI/Pathfinding/PathfindingSystem.cs index 23123d46af..5d8eb20cf6 100644 --- a/Content.Server/GameObjects/EntitySystems/AI/Pathfinding/PathfindingSystem.cs +++ b/Content.Server/GameObjects/EntitySystems/AI/Pathfinding/PathfindingSystem.cs @@ -229,7 +229,7 @@ namespace Content.Server.GameObjects.EntitySystems.AI.Pathfinding node.UpdateTile(tile); } - private void HandleGridRemoval(GridId gridId) + private void HandleGridRemoval(MapId mapId, GridId gridId) { if (_graph.ContainsKey(gridId)) { diff --git a/Content.Server/GameObjects/EntitySystems/Atmos/GasTileOverlaySystem.cs b/Content.Server/GameObjects/EntitySystems/Atmos/GasTileOverlaySystem.cs index f7857c917b..4d05c10588 100644 --- a/Content.Server/GameObjects/EntitySystems/Atmos/GasTileOverlaySystem.cs +++ b/Content.Server/GameObjects/EntitySystems/Atmos/GasTileOverlaySystem.cs @@ -107,7 +107,7 @@ namespace Content.Server.GameObjects.EntitySystems.Atmos return chunk; } - private void OnGridRemoved(GridId gridId) + private void OnGridRemoved(MapId mapId, GridId gridId) { if (_overlay.ContainsKey(gridId)) { diff --git a/RobustToolbox b/RobustToolbox index 8e0f227940..6cf5fdc5d6 160000 --- a/RobustToolbox +++ b/RobustToolbox @@ -1 +1 @@ -Subproject commit 8e0f227940a37f713fbef650be30837fba2b2953 +Subproject commit 6cf5fdc5d654fb3460ea5f0e0d22c238d38ec8be