share/hedgewars/Data/Scripts/Multiplayer/HedgeEditor.lua
changeset 12018 7fdf381303b1
parent 12017 a315ded26330
child 12019 67b18844e3bb
equal deleted inserted replaced
12017:a315ded26330 12018:7fdf381303b1
  3068 			AddCaption(loc("Bouncy Land"),0xffba00ff,capgrpAmmoinfo)
  3068 			AddCaption(loc("Bouncy Land"),0xffba00ff,capgrpAmmoinfo)
  3069 		elseif (s == 5) and (cat[cIndex] ~= loc("Sprite Modification Mode")) and (cat[cIndex] ~= loc("Sprite Placement Mode")) then
  3069 		elseif (s == 5) and (cat[cIndex] ~= loc("Sprite Modification Mode")) and (cat[cIndex] ~= loc("Sprite Placement Mode")) then
  3070 			superDelete = true
  3070 			superDelete = true
  3071 		end
  3071 		end
  3072 	elseif pMode[pIndex] == loc("Selection Mode") then
  3072 	elseif pMode[pIndex] == loc("Selection Mode") then
  3073 		setGearValue(sGear, "ranking", s)
  3073 		if sGear ~= nil and GetGearType(sGear) == gtHedgehog then
       
  3074 			setGearValue(sGear, "ranking", s)
       
  3075 		end
  3074 	end
  3076 	end
  3075 
  3077 
  3076 end
  3078 end
  3077 
  3079 
  3078 function onPrecise()
  3080 function onPrecise()