Can't play Game Dev Tycoon because of bug

The error message says, “Cannot read property ‘isCustom’ of null.”

You using any mods? When does the error occur?

Never mind
I fixed it.