Skip to content

Commit

Permalink
use module
Browse files Browse the repository at this point in the history
  • Loading branch information
lemz1 committed Oct 26, 2024
1 parent 8829731 commit 5b33886
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions source/funkin/util/macro/PolymodMacro.hx
Original file line number Diff line number Diff line change
Expand Up @@ -170,7 +170,7 @@ class PolymodMacro
});
}

var strExpr = Context.parse('${cls.pack.join('.')}.${cls.name}.${field.name}(${exprArgs.join(', ')})', Context.currentPos());
var strExpr = Context.parse('${cls.module}.${cls.name}.${field.name}(${exprArgs.join(', ')})', Context.currentPos());

fields.push(
{
Expand Down Expand Up @@ -209,7 +209,7 @@ class PolymodMacro
});
}

var strExpr = Context.parse('${cls.pack.join('.')}.${cls.name}.${field.name}', Context.currentPos());
var strExpr = Context.parse('${cls.module}.${cls.name}.${field.name}', Context.currentPos());

fields.push(
{
Expand Down

0 comments on commit 5b33886

Please sign in to comment.