Ticket #18: status_bars_hack.diff

File status_bars_hack.diff, 639 bytes (added by Jonathan Waller, 12 years ago)

This makes status bars show at all times, useful for watching the effect of splash damage

  • binaries/data/mods/public/simulation/components/StatusBars.js

     
    1414StatusBars.prototype.Init = function()
    1515{
    1616    this.enabled = false;
     17    this.SetEnabled();
    1718};
    1819
    1920// Because this is enabled directly by the GUI and is not
     
    2930
    3031StatusBars.prototype.SetEnabled = function(enabled)
    3132{
     33    enabled = true;
    3234    // Quick return if no change
    3335    if (enabled == this.enabled)
    3436        return;