From 718b99c2e49e4bc7e72f2cb134be076ac6ebde32 Mon Sep 17 00:00:00 2001 From: KandJX <83637364+YegorKandziuba@users.noreply.github.com> Date: Sat, 28 Oct 2023 14:03:47 +0300 Subject: [PATCH] Bugfix of random.dm Fixed loss of preservation of the dir variable when creating a random object. --- code/game/objects/random/random.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/game/objects/random/random.dm b/code/game/objects/random/random.dm index 4f591e7d3dde2..4503f430bf490 100644 --- a/code/game/objects/random/random.dm +++ b/code/game/objects/random/random.dm @@ -27,7 +27,7 @@ if(pixel_x || pixel_y) A.pixel_x = pixel_x A.pixel_y = pixel_y - + A.dir = dir return A // Returns an associative list in format path:weight