mirror of
https://github.com/WWhiteDreamProject/wwdpublic.git
synced 2026-04-22 07:58:06 +03:00
https://github.com/Simple-Station/Einstein-Engines/pull/2337 Co-authored-by: Your Name <EctoplasmIsGood@users.noreply.github.com> (cherry picked from commit f888234d0746715853477a0fdecee6c50a18e801)
This commit is contained in:
committed by
Spatison
parent
689f25c8da
commit
ef7c1d42b8
@@ -237,6 +237,16 @@ public sealed partial class NavMapSystem : SharedNavMapSystem
|
||||
component.Chunks.Clear();
|
||||
component.Beacons.Clear();
|
||||
|
||||
// Refresh beacons
|
||||
var query = EntityQueryEnumerator<NavMapBeaconComponent, TransformComponent>();
|
||||
while (query.MoveNext(out var qUid, out var qNavComp, out var qTransComp))
|
||||
{
|
||||
if (qTransComp.ParentUid != uid)
|
||||
continue;
|
||||
|
||||
UpdateNavMapBeaconData(qUid, qNavComp);
|
||||
}
|
||||
|
||||
// Loop over all tiles
|
||||
var tileRefs = _mapSystem.GetAllTiles(uid, mapGrid);
|
||||
|
||||
|
||||
Reference in New Issue
Block a user