mirror of
https://gitea.wildfiregames.com/0ad/0ad
synced 2026-06-19 23:03:56 -07:00
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
1 changed files with 0 additions and 7 deletions
|
|
@ -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 a new issue