diff --git a/src/main/scala/millfork/parser/TextCodec.scala b/src/main/scala/millfork/parser/TextCodec.scala index 8b914ec3..35d877b3 100644 --- a/src/main/scala/millfork/parser/TextCodec.scala +++ b/src/main/scala/millfork/parser/TextCodec.scala @@ -267,7 +267,7 @@ class TableTextCodec(override val name: String, } object TextCodec { - val allCodecs = Map( + lazy val allCodecs = Map( "ascii" -> TextCodec.Ascii, "petscii" -> TextCodec.Petscii, "pet" -> TextCodec.Petscii,