Skip to content

Commit 16f0553

Browse files
committed
Fix C to C_ mapping
1 parent 12fc38b commit 16f0553

1 file changed

Lines changed: 1 addition & 0 deletions

File tree

src/data/derived.ts

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -102,6 +102,7 @@ function buildReferences(
102102
// Client classes use C_ prefix (e.g. C_BaseEntity), server uses C (e.g. CBaseEntity)
103103
function crossModuleName(name: string): string | null {
104104
if (name.startsWith("C_")) return "C" + name.slice(2);
105+
if (name.startsWith("C") && name[1] !== "_") return "C_" + name.slice(1);
105106
return null;
106107
}
107108

0 commit comments

Comments
 (0)