From 8be6bbe472fe96c695431be1636d62cc3b9b3f4a Mon Sep 17 00:00:00 2001 From: Maddie <52103563+maddie480@users.noreply.github.com> Date: Wed, 12 Jun 2024 22:20:20 +0200 Subject: [PATCH] Fix decal registry attribute --- .../Registry/DecalRegistryHandlers/DepthDecalRegistryHandler.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Celeste.Mod.mm/Mod/Registry/DecalRegistryHandlers/DepthDecalRegistryHandler.cs b/Celeste.Mod.mm/Mod/Registry/DecalRegistryHandlers/DepthDecalRegistryHandler.cs index a3dc2e9ef..1a8a14051 100644 --- a/Celeste.Mod.mm/Mod/Registry/DecalRegistryHandlers/DepthDecalRegistryHandler.cs +++ b/Celeste.Mod.mm/Mod/Registry/DecalRegistryHandlers/DepthDecalRegistryHandler.cs @@ -8,7 +8,7 @@ internal sealed class DepthDecalRegistryHandler : DecalRegistryHandler { public override string Name => "depth"; public override void Parse(XmlAttributeCollection xml) { - _depth = GetNullable(xml, "depth"); + _depth = GetNullable(xml, "value"); } public override void ApplyTo(Decal decal) {