mirror of
https://github.com/Bubberstation/Bubberstation.git
synced 2026-08-28 07:38:05 +01:00
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:
@@ -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)
|
||||
|
||||
Reference in New Issue
Block a user