Fix shuttle loading error (#22767)

This commit is contained in:
Leon Friedrich
2023-12-20 01:24:26 -05:00
committed by GitHub
parent ce1e4b8df5
commit 20595813b6
3 changed files with 9 additions and 15 deletions

View File

@@ -196,6 +196,7 @@ public sealed class PiratesRuleSystem : GameRuleSystem<PiratesRuleComponent>
var gridId = _map.LoadGrid(GameTicker.DefaultMap, map, new MapLoadOptions
{
Offset = aabb.Center + new Vector2(a, a),
LoadMap = false,
});
if (!gridId.HasValue)