fixes some rand() loops (#87795)

## About The Pull Request

i in rand(x,y) doesnt work

i in 1 to rand(x,y) does

## Why It's Good For The Game

bugggs

ghommie stole my gbp

## Changelog

🆑
fix: fixed random dm modifiers & some life-like reagent reactions
/🆑
This commit is contained in:
carlarctg
2024-11-10 17:45:26 -05:00
committed by GitHub
parent ce51cc9485
commit 6f97d3e2ea
2 changed files with 4 additions and 4 deletions
@@ -519,7 +519,7 @@
modifiers_pool -= modpath
///Pick global modifiers at random.
for(var/iteration in rand(3, 5))
for(var/iteration in 1 to rand(3, 5))
var/datum/deathmatch_modifier/modifier = GLOB.deathmatch_game.modifiers[pick_n_take(modifiers_pool)]
modifier.on_select(lobby)
modifier.on_start_game(lobby)