forked from 0ad/0ad
Fix OOS
This was SVN commit r8255.
This commit is contained in:
parent
59c8ecfa3d
commit
2cc6280d70
@ -18,6 +18,14 @@ StatusBars.prototype.Init = function()
|
||||
this.enabled = false;
|
||||
};
|
||||
|
||||
StatusBars.prototype.Serialize = function()
|
||||
{
|
||||
// Because this is enabled directly by the GUI and is not
|
||||
// network-synchronised (it only affects local rendering),
|
||||
// return a dummy value to prevent OOS errors
|
||||
return { "enabled": false };
|
||||
};
|
||||
|
||||
StatusBars.prototype.SetEnabled = function(enabled)
|
||||
{
|
||||
// Quick return if no change
|
||||
|
Loading…
Reference in New Issue
Block a user