Migrate random shuttle events to load dynamically (#40326)

This commit is contained in:
Hannah Giovanna Dawson
2025-11-01 00:36:44 +00:00
committed by GitHub
parent 1f38a34217
commit 696debc606
3 changed files with 29 additions and 125 deletions

View File

@@ -34,7 +34,11 @@ public sealed partial class LoadMapRuleComponent : Component
/// <summary>
/// A <see cref="PreloadedGridPrototype"/> to move to a new map.
/// If there are no instances left nothing is done.
/// <para>
/// This is deprecated. Do not create new content that uses this field,
/// and migrate existing content to be loaded dynamically during the round.
/// </para>
/// </summary>
[DataField]
[DataField, Obsolete("Do not pre-load grids. This causes the server to have to keep that grid loaded in memory during the entire round, even if that grid is never summoned to the playspace.")]
public ProtoId<PreloadedGridPrototype>? PreloadedGrid;
}