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
🆑
fix: fixed TGUI spawn panel direction option not working
/🆑
This commit is contained in:
Roxy
2026-06-06 18:24:23 +02:00
committed by GitHub
parent 059394f33c
commit 7725809243
@@ -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,