Skip to content

Commit

Permalink
Fix <depth> decal registry attribute
Browse files Browse the repository at this point in the history
  • Loading branch information
maddie480 committed Jun 12, 2024
1 parent 107a708 commit 8be6bbe
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -8,7 +8,7 @@ internal sealed class DepthDecalRegistryHandler : DecalRegistryHandler {
public override string Name => "depth";

public override void Parse(XmlAttributeCollection xml) {
_depth = GetNullable<int>(xml, "depth");
_depth = GetNullable<int>(xml, "value");
}

public override void ApplyTo(Decal decal) {
Expand Down

0 comments on commit 8be6bbe

Please sign in to comment.