Fix RCD errors (#40278)

This commit is contained in:
slarticodefast
2025-09-20 21:05:57 +02:00
committed by GitHub
parent 85f3cc7583
commit ae22c7c3d0
2 changed files with 3 additions and 3 deletions

View File

@@ -111,7 +111,7 @@ public sealed class RCDSystem : EntitySystem
var name = Loc.GetString(prototype.SetName);
if (prototype.Prototype != null &&
_protoManager.Resolve(prototype.Prototype, out var proto))
_protoManager.TryIndex(prototype.Prototype, out var proto)) // don't use Resolve because this can be a tile
name = proto.Name;
msg = Loc.GetString("rcd-component-examine-build-details", ("name", name));