This was SVN commit r8255.
This commit is contained in:
Ykkrosh 2010-10-03 20:12:08 +00:00
parent 59c8ecfa3d
commit 2cc6280d70

View File

@ -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