From 29ccce134bac22b3b6cfa4137290334cc13e9474 Mon Sep 17 00:00:00 2001 From: TemporalOroboros Date: Wed, 28 May 2025 14:44:24 -0700 Subject: [PATCH] Fix obsolete method warning in SimpleFloorPlanPopulatorSystem (#37910) Fix obsolete method warning --- .../Worldgen/Systems/Debris/SimpleFloorPlanPopulatorSystem.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Content.Server/Worldgen/Systems/Debris/SimpleFloorPlanPopulatorSystem.cs b/Content.Server/Worldgen/Systems/Debris/SimpleFloorPlanPopulatorSystem.cs index a575e055ef..ed26053114 100644 --- a/Content.Server/Worldgen/Systems/Debris/SimpleFloorPlanPopulatorSystem.cs +++ b/Content.Server/Worldgen/Systems/Debris/SimpleFloorPlanPopulatorSystem.cs @@ -29,7 +29,7 @@ public sealed class SimpleFloorPlanPopulatorSystem : BaseWorldSystem var enumerator = _map.GetAllTilesEnumerator(uid, grid); while (enumerator.MoveNext(out var tile)) { - var coords = grid.GridTileToLocal(tile.Value.GridIndices); + var coords = _map.GridTileToLocal(uid, grid, tile.Value.GridIndices); var selector = tile.Value.Tile.GetContentTileDefinition(_tileDefinition).ID; if (!component.Caches.TryGetValue(selector, out var cache)) continue; -- 2.51.2