From 04b20555ed173ecee914c2a455953aa5d92d007c Mon Sep 17 00:00:00 2001 From: adamsong Date: Wed, 13 Apr 2022 02:00:44 -0500 Subject: [PATCH 1/2] Properly fix runtime in under clothing --- code/modules/clothing/under/_under.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/clothing/under/_under.dm b/code/modules/clothing/under/_under.dm index 6fa8dd46db7f..b16136689cff 100644 --- a/code/modules/clothing/under/_under.dm +++ b/code/modules/clothing/under/_under.dm @@ -167,7 +167,7 @@ var/turf/T = get_turf(src) if(!T) T = get_turf(user) - A.forceMove(get_turf(src)) + A.forceMove(T) if(ishuman(loc)) var/mob/living/carbon/human/H = loc From 93d0a111ee069fc05b349d0b681ce2f1af19d9a4 Mon Sep 17 00:00:00 2001 From: adamsong Date: Wed, 13 Apr 2022 02:01:19 -0500 Subject: [PATCH 2/2] One more sanity check --- code/modules/clothing/under/_under.dm | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/code/modules/clothing/under/_under.dm b/code/modules/clothing/under/_under.dm index b16136689cff..bcf6f6c10867 100644 --- a/code/modules/clothing/under/_under.dm +++ b/code/modules/clothing/under/_under.dm @@ -167,7 +167,8 @@ var/turf/T = get_turf(src) if(!T) T = get_turf(user) - A.forceMove(T) + if(T) + A.forceMove(T) if(ishuman(loc)) var/mob/living/carbon/human/H = loc