Partial cleanup of ExplosionSystem (#36098)
* Cleanup warnings in ExplosionSystem.TileFill * Formatting in ExplosionSystem.TileFill * Cleanup warning in ExplosionSystem * Formatting for ExplosionSystem * Switch from MapChangedEvent to MapRemovedEvent * Fix 1 warning in ExplosionSystem.Processing * Fix 1 warning in ExplosionSystem.Visuals * Fix 1 warning in ExplosionSystem.GridMap * Fix 2 warnings in ExplosionSystem.Airtight * Clear _grids
This commit is contained in:
@@ -57,7 +57,7 @@ public sealed partial class ExplosionSystem
|
||||
|
||||
// Light, sound & visuals may extend well beyond normal PVS range. In principle, this should probably still be
|
||||
// restricted to something like the same map, but whatever.
|
||||
_pvsSys.AddGlobalOverride(GetNetEntity(explosionEntity));
|
||||
_pvsSys.AddGlobalOverride(explosionEntity);
|
||||
|
||||
var appearance = AddComp<AppearanceComponent>(explosionEntity);
|
||||
_appearance.SetData(explosionEntity, ExplosionAppearanceData.Progress, 1, appearance);
|
||||
|
||||
Reference in New Issue
Block a user