VMSolidus
2024-07-11 20:40:02 -04:00
committed by GitHub
parent 50ec3cd5d7
commit 30fa1207b2
162 changed files with 1354 additions and 1300 deletions

View File

@@ -1,4 +1,3 @@
using System.Linq;
using System.Numerics;
using Content.Shared.CCVar;
using Content.Shared.Damage;
@@ -17,6 +16,7 @@ using Robust.Shared.Random;
using Robust.Shared.Timing;
using Robust.Shared.Utility;
using TimedDespawnComponent = Robust.Shared.Spawners.TimedDespawnComponent;
using Content.Server.Atmos.EntitySystems;
namespace Content.Server.Explosion.EntitySystems;
@@ -44,13 +44,6 @@ public sealed partial class ExplosionSystem
/// </summary>
private Explosion? _activeExplosion;
/// <summary>
/// While processing an explosion, the "progress" is sent to clients, so that the explosion fireball effect
/// syncs up with the damage. When the tile iteration increments, an update needs to be sent to clients.
/// This integer keeps track of the last value sent to clients.
/// </summary>
private int _previousTileIteration;
/// <summary>
/// This list is used when raising <see cref="BeforeExplodeEvent"/> to avoid allocating a new list per event.
/// </summary>
@@ -108,8 +101,6 @@ public sealed partial class ExplosionSystem
if (_activeExplosion == null)
continue;
_previousTileIteration = 0;
// just a lil nap
if (SleepNodeSys)
{