From 7725809243f4762a24c6fb094baa229b2f0f9f10 Mon Sep 17 00:00:00 2001 From: Roxy <75404941+TealSeer@users.noreply.github.com> Date: Sat, 6 Jun 2026 12:24:23 -0400 Subject: [PATCH] Fix TGUI spawn panel dir option not working (#96363) ## About The Pull Request The parameter is `atom_dir` not `dir` ## Why It's Good For The Game `dir` doesn't exist so it was always falling back to the default of north regardless of what you picked ## Changelog :cl: fix: fixed TGUI spawn panel direction option not working /:cl: --- code/modules/admin/spawn_panel/spawn_panel.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/admin/spawn_panel/spawn_panel.dm b/code/modules/admin/spawn_panel/spawn_panel.dm index cdde4d0b902..449fb8c0469 100644 --- a/code/modules/admin/spawn_panel/spawn_panel.dm +++ b/code/modules/admin/spawn_panel/spawn_panel.dm @@ -131,7 +131,7 @@ var/list/spawn_params = list( "selected_atom" = selected_atom, "offset" = params["offset"], - "atom_dir" = text2num(params["dir"]) || 1, + "atom_dir" = text2num(params["atom_dir"]) || 1, "atom_amount" = text2num(params["atom_amount"]) || 1, "atom_name" = params["atom_name"], "where_target_type" = params["where_target_type"] || WHERE_FLOOR_BELOW_MOB,