mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-07-20 20:45:28 +01:00
Replacing more C-style for loops with the faster, traditional ones. (#62908)
This commit is contained in:
@@ -42,9 +42,9 @@
|
||||
dna_to_add = list("Non-human DNA" = random_blood_type()) //else, generate a random bloodtype for it.
|
||||
|
||||
|
||||
for(var/i = 1, i<= gibtypes.len, i++)
|
||||
for(var/i in 1 to gibtypes.len)
|
||||
if(gibamounts[i])
|
||||
for(var/j = 1, j<= gibamounts[i], j++)
|
||||
for(var/j in 1 to gibamounts[i])
|
||||
var/gibType = gibtypes[i]
|
||||
gib = new gibType(loc, diseases)
|
||||
|
||||
|
||||
Reference in New Issue
Block a user