From: TemporalOroboros Date: Wed, 28 May 2025 21:44:24 +0000 (-0700) Subject: Fix obsolete method warning in SimpleFloorPlanPopulatorSystem (#37910) X-Git-Url: https://git.smokeofanarchy.ru/gitweb.cgi?a=commitdiff_plain;h=29ccce134bac22b3b6cfa4137290334cc13e9474;p=space-station-14.git Fix obsolete method warning in SimpleFloorPlanPopulatorSystem (#37910) Fix obsolete method warning --- 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;