share/hedgewars/Data/Scripts/Multiplayer/Continental_supplies.lua
changeset 13364 f609c5cd8286
parent 13363 544867ac1017
child 13367 6fd53df98549
equal deleted inserted replaced
13363:544867ac1017 13364:f609c5cd8286
  2142 			PlaySound(sndGraveImpact)
  2142 			PlaySound(sndGraveImpact)
  2143 		end
  2143 		end
  2144 	--australian special
  2144 	--australian special
  2145 	elseif(GetGearType(gearUid)==gtBall and GetGearMessage(gearUid)==3)
  2145 	elseif(GetGearType(gearUid)==gtBall and GetGearMessage(gearUid)==3)
  2146 	then
  2146 	then
  2147 		SpawnRandomCrate(GetX(gearUid), GetY(gearUid))
  2147 		if band(GetState(gearUid), gstDrowning) == 0 then
       
  2148 			SpawnRandomCrate(GetX(gearUid), GetY(gearUid))
       
  2149 		end
  2148 
  2150 
  2149 	--asia (using para)
  2151 	--asia (using para)
  2150 	elseif(GetGearType(gearUid)==gtParachute)
  2152 	elseif(GetGearType(gearUid)==gtParachute)
  2151 	then
  2153 	then
  2152 		CS.PARACHUTE_IS_ON=false
  2154 		CS.PARACHUTE_IS_ON=false