equal
deleted
inserted
replaced
857 local toSpawn = cratesPerTurn |
857 local toSpawn = cratesPerTurn |
858 if cratesInGame + toSpawn > maxCrates then |
858 if cratesInGame + toSpawn > maxCrates then |
859 toSpawn = maxCrates - cratesInGame |
859 toSpawn = maxCrates - cratesInGame |
860 end |
860 end |
861 for i=1,toSpawn do |
861 for i=1,toSpawn do |
862 SpawnAmmoCrate(0, 0, weapons[1+GetRandom(#weapons)] ) |
862 SpawnSupplyCrate(0, 0, weapons[1+GetRandom(#weapons)] ) |
863 end |
863 end |
864 rPingTimer = 0 |
864 rPingTimer = 0 |
865 rAlpha = 0 |
865 rAlpha = 0 |
866 if toSpawn > 0 then |
866 if toSpawn > 0 then |
867 PlaySound(sndWarp) |
867 PlaySound(sndWarp) |