Ticket #18: status_bars_hack.diff
File status_bars_hack.diff, 639 bytes (added by , 12 years ago) |
---|
-
binaries/data/mods/public/simulation/components/StatusBars.js
14 14 StatusBars.prototype.Init = function() 15 15 { 16 16 this.enabled = false; 17 this.SetEnabled(); 17 18 }; 18 19 19 20 // Because this is enabled directly by the GUI and is not … … 29 30 30 31 StatusBars.prototype.SetEnabled = function(enabled) 31 32 { 33 enabled = true; 32 34 // Quick return if no change 33 35 if (enabled == this.enabled) 34 36 return;