Ticket #3300: disable_delete_button.diff

File disable_delete_button.diff, 767 bytes (added by bb, 9 years ago)

The patch for this ticket.

  • binaries/data/mods/public/gui/session/unit_actions.js

     
    660660
    661661/**
    662662 * Info and actions for the entity commands
    663  * Currently displayed in the bottom of the central pane
     663 * Currently displayed in the bottom of the central panel
    664664 */
    665665var g_EntityCommands =
    666666{
     
    716716            if (entState.mirage)
    717717                return;
    718718
     719            if (entState.capturePoints && entState.capturePoints[entState.player] < entState.maxCapturePoints / 2)
     720                return;
     721
    719722            var selection = g_Selection.toList();
    720723            if (selection.length < 1)
    721724                return;