# HG changeset patch # User Wuzzy # Date 1460186049 -7200 # Node ID 9790a4c72d7bd3e7a49811525193d1b4057c0364 # Parent a2f0c0d0e534d18cf0b5744d1b211423afc51c63 HedgeEditor: Disable delete mode for sprite placement mode diff -r a2f0c0d0e534 -r 9790a4c72d7b share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua --- a/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Sat Apr 09 08:59:29 2016 +0200 +++ b/share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua Sat Apr 09 09:14:09 2016 +0200 @@ -2996,7 +2996,7 @@ elseif (s == 4) then landType = lfBouncy AddCaption(loc("Bouncy Land"),0xffba00ff,capgrpAmmoinfo) - elseif (s == 5) and (cat[cIndex] ~= loc("Sprite Modification Mode")) then + elseif (s == 5) and (cat[cIndex] ~= loc("Sprite Modification Mode")) and (cat[cIndex] ~= loc("Sprite Placement Mode")) then superDelete = true end elseif pMode[pIndex] == loc("Selection Mode") then