[MIRROR] Replacing more C-style for loops with the faster, traditional ones. [MDB IGNORE] (#9560)

* Replacing more C-style for loops with the faster, traditional ones. (#62908)

* Replacing more C-style for loops with the faster, traditional ones.

Co-authored-by: Ghom <42542238+Ghommie@users.noreply.github.com>
This commit is contained in:
SkyratBot
2021-11-19 20:37:13 +00:00
committed by GitHub
co-authored by Ghom
parent 7c55a7602f
commit a94325afe4
26 changed files with 60 additions and 60 deletions
+1 -1
View File
@@ -454,7 +454,7 @@
playsound(user, 'sound/effects/Glasshit.ogg', 140, TRUE)
if(W.type in list(/obj/structure/window, /obj/structure/window/fulltile, /obj/structure/window/unanchored, /obj/structure/window/fulltile/unanchored)) // boring unreinforced windows
for(var/i = 0, i < speed, i++)
for(var/i in 1 to speed)
var/obj/item/shard/shard = new /obj/item/shard(get_turf(user))
shard.embedding = list(embed_chance = 100, ignore_throwspeed_threshold = TRUE, impact_pain_mult=3, pain_chance=5)
shard.updateEmbedding()