Help: my mod causes a bug in the scenery editor and I don't know why

Hello community.
I have been working on a mod of a new civilization but I don’t know what I have done that if I want to use the editor of scenarios that disappear the options of advancing age in the Towncenter. In skirmish appears no problem but in the editor I do not know what happens. I already debugged the code and there are no errors, as I said, it only happens in the scenario editor

my mod is this

https://www.ageofempires.com/mods/details/23480/

You can also see the code if you don’t want to download it on github

https://github.com/ElGoncen/gongondios_civ_ao3de