forked from 0ad/0ad
Fix a frequent rejoining OOS. We actually need to serialize the data loaded from the disk, because JS objects in the memory or newly loaded from the disk will not behave the same way.
Fixes #4239, refs #3834. This was SVN commit r18752.
This commit is contained in:
parent
ad1a4d6121
commit
09e775446e
@ -15,13 +15,6 @@ DataTemplateManager.prototype.Init = function()
|
||||
this.GetTechnologyTemplate(techNames[i]);
|
||||
};
|
||||
|
||||
DataTemplateManager.prototype.Serialize = null; // we have no dynamic state to save
|
||||
|
||||
DataTemplateManager.prototype.Deserialize = function()
|
||||
{
|
||||
this.Init();
|
||||
};
|
||||
|
||||
DataTemplateManager.prototype.GetTechnologyTemplate = function(template)
|
||||
{
|
||||
if (!this.allTechs[template])
|
||||
|
Loading…
Reference in New Issue
Block a user