diff --git a/source/funkin/util/macro/PolymodMacro.hx b/source/funkin/util/macro/PolymodMacro.hx index c7a7a250b..dd02c44b4 100644 --- a/source/funkin/util/macro/PolymodMacro.hx +++ b/source/funkin/util/macro/PolymodMacro.hx @@ -144,7 +144,7 @@ class PolymodMacro Context.defineType( { pos: Context.currentPos(), - pack: ['polymod', 'abstracts'].concat(abstractCls.module.split('.')), + pack: ['polymod', 'abstracts'].concat(abstractCls.pack), name: abstractCls.name, kind: TypeDefKind.TDClass(null, [], false, false, false), fields: fields,