Ticket #3300: disable_delete_button.diff
File disable_delete_button.diff, 767 bytes (added by , 9 years ago) |
---|
-
binaries/data/mods/public/gui/session/unit_actions.js
660 660 661 661 /** 662 662 * 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 664 664 */ 665 665 var g_EntityCommands = 666 666 { … … 716 716 if (entState.mirage) 717 717 return; 718 718 719 if (entState.capturePoints && entState.capturePoints[entState.player] < entState.maxCapturePoints / 2) 720 return; 721 719 722 var selection = g_Selection.toList(); 720 723 if (selection.length < 1) 721 724 return;