From 9cec65beac04f7f90899a78441b00e076b569224 Mon Sep 17 00:00:00 2001 From: GenericDM <34109002+GenericDM@users.noreply.github.com> Date: Tue, 26 Sep 2023 23:48:04 -0700 Subject: [PATCH] Make the random random, thanks again Kapu. --- code/game/objects/structures/crateshelf.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/structures/crateshelf.dm b/code/game/objects/structures/crateshelf.dm index e76a26a03f28..0cbb6704f497 100644 --- a/code/game/objects/structures/crateshelf.dm +++ b/code/game/objects/structures/crateshelf.dm @@ -32,7 +32,7 @@ crate.layer = BELOW_OBJ_LAYER // Reset the crates back to default visual state crate.pixel_y = 0 crate.forceMove(dump_turf) - step_rand(crate) // Shuffle the crates around as though they've fallen down + step(crate, pick(GLOB.alldirs)) // Shuffle the crates around as though they've fallen down crate.SpinAnimation(rand(4,7), 1) if(prob(10)) if(crate.open()) // Break some open, cause a little chaos