* Refactors flashes to ECS, sunglasses protect you from being flashed. * VV ReadWrite for FlashImmunity Enabled. * Use cached IEntityLookup. * Consistent formatting. * Fix flashbang duration. Flash duration is a mess. * Small area flash code cleanup. * Flashable state is only sent to attached player.
13 lines
322 B
C#
13 lines
322 B
C#
using Content.Shared.Flash;
|
|
using Robust.Shared.Analyzers;
|
|
using Robust.Shared.GameObjects;
|
|
|
|
namespace Content.Client.Flash
|
|
{
|
|
[ComponentReference(typeof(SharedFlashableComponent))]
|
|
[RegisterComponent, Friend(typeof(FlashSystem))]
|
|
public sealed class FlashableComponent : SharedFlashableComponent
|
|
{
|
|
}
|
|
}
|