foreach (var (comp, appearance) in _entMan.EntityQuery<ExplosionVisualsComponent, AppearanceComponent>(true))
{
+ if (comp.Epicenter.MapId != args.MapId)
+ continue;
+
if (!appearance.TryGetData(ExplosionAppearanceData.Progress, out int index))
continue;
[ComponentReference(typeof(SharedExplosionVisualsComponent))]
public sealed class ExplosionVisualsComponent : SharedExplosionVisualsComponent
{
- public EntityUid LightEntity;
/// <summary>
- /// How long have we been drawing this explosion, starting from the time the explosion was fully drawn.
+ /// Uid of the client-side point light entity for this explosion.
/// </summary>
- public float Lifetime;
+ public EntityUid LightEntity;
+ /// <summary>
+ /// How intense an explosion needs to be at a given tile in order to progress to the next fire-intensity RSI state. See also <see cref="FireFrames"/>
+ /// </summary>
public float IntensityPerState;
/// <summary>