diff --git a/scripts/DeathScreen.cs b/scripts/DeathScreen.cs index e8854f8..9f2071c 100644 --- a/scripts/DeathScreen.cs +++ b/scripts/DeathScreen.cs @@ -41,6 +41,7 @@ public partial class DeathScreen : TextureRect _playerSprite.Texture = animatedSprite2D.SpriteFrames.GetFrameTexture(animatedSprite2D.Animation, animatedSprite2D.Frame); _playerSprite.Position -= _playerSprite.Texture.GetSize() / 2; + _playerSprite.FlipH = animatedSprite2D.FlipH; } if (killer.FindChild("AnimatedSprite2D") is AnimatedSprite2D killerAnimatedSprite2D) @@ -49,6 +50,7 @@ public partial class DeathScreen : TextureRect _monsterSprite.Texture = killerAnimatedSprite2D.SpriteFrames.GetFrameTexture(killerAnimatedSprite2D.Animation, killerAnimatedSprite2D.Frame); _monsterSprite.Position -= _monsterSprite.Texture.GetSize() / 2; + _monsterSprite.FlipH = killerAnimatedSprite2D.FlipH; } Visible = true;