Make airlock deny animation use the unlit layer.
@@ -71,11 +71,11 @@ namespace Content.Client.GameObjects.Components.Doors
|
||||
sound.KeyFrames.Add(new AnimationTrackPlaySound.KeyFrame(openSound, 0));
|
||||
}
|
||||
|
||||
DenyAnimation = new Animation {Length = TimeSpan.FromSeconds(0.45f)};
|
||||
DenyAnimation = new Animation {Length = TimeSpan.FromSeconds(0.3f)};
|
||||
{
|
||||
var flick = new AnimationTrackSpriteFlick();
|
||||
DenyAnimation.AnimationTracks.Add(flick);
|
||||
flick.LayerKey = DoorVisualLayers.Base;
|
||||
flick.LayerKey = DoorVisualLayers.BaseUnlit;
|
||||
flick.KeyFrames.Add(new AnimationTrackSpriteFlick.KeyFrame("deny", 0f));
|
||||
|
||||
var sound = new AnimationTrackPlaySound();
|
||||
@@ -126,7 +126,6 @@ namespace Content.Client.GameObjects.Components.Doors
|
||||
unlitVisible = false;
|
||||
break;
|
||||
case DoorVisualState.Deny:
|
||||
unlitVisible = false;
|
||||
if (!animPlayer.HasRunningAnimation(AnimationKey))
|
||||
{
|
||||
animPlayer.Play(DenyAnimation, AnimationKey);
|
||||
|
||||
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 742 B After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 660 B After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 1.3 KiB After Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 1.7 KiB After Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 179 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.4 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 181 B |
|
Before Width: | Height: | Size: 1.5 KiB After Width: | Height: | Size: 181 B |