Ticket #4239: DataTemplateManager.js.patch

File DataTemplateManager.js.patch, 679 bytes (added by Itms, 8 years ago)
  • binaries/data/mods/public/simulation/components/DataTemplateManager.js

     
    1515        this.GetTechnologyTemplate(techNames[i]);
    1616};
    1717
    18 DataTemplateManager.prototype.Serialize = null; // we have no dynamic state to save
    19 
    20 DataTemplateManager.prototype.Deserialize = function()
    21 {
    22     this.Init();
    23 };
    24 
    2518DataTemplateManager.prototype.GetTechnologyTemplate = function(template)
    2619{
    2720    if (!this.allTechs[template])