From 54ff347edfa7a9e9e4b3a797d1805ab9f07ee0e8 Mon Sep 17 00:00:00 2001 From: kevinz000 Date: Sat, 1 Apr 2017 17:24:06 -0700 Subject: [PATCH 1/2] Update special.dm --- code/modules/shuttle/special.dm | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/code/modules/shuttle/special.dm b/code/modules/shuttle/special.dm index d039929d2fc..8ae50b98558 100644 --- a/code/modules/shuttle/special.dm +++ b/code/modules/shuttle/special.dm @@ -218,7 +218,7 @@ //Luxury Shuttle Blockers /obj/effect/forcefield/luxury_shuttle - var/threshhold = 500 + var/threshold = 500 var/static/list/approved_passengers = list() /obj/effect/forcefield/luxury_shuttle/CanPass(atom/movable/mover, turf/target, height=0) @@ -234,12 +234,12 @@ for(var/obj/item/weapon/coin/C in mover.GetAllContents()) total_cash += C.value counted_money += C - if(total_cash >= threshhold) + if(total_cash >= threshold) break for(var/obj/item/stack/spacecash/S in mover.GetAllContents()) total_cash += S.value * S.amount counted_money += S - if(total_cash >= threshhold) + if(total_cash >= threshold) break if(total_cash >= threshhold) From ada88850da86ebde1aaf3c29692e566faf8082ba Mon Sep 17 00:00:00 2001 From: kevinz000 Date: Sat, 1 Apr 2017 17:38:38 -0700 Subject: [PATCH 2/2] Update special.dm --- code/modules/shuttle/special.dm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/code/modules/shuttle/special.dm b/code/modules/shuttle/special.dm index 8ae50b98558..67b6da397d4 100644 --- a/code/modules/shuttle/special.dm +++ b/code/modules/shuttle/special.dm @@ -242,7 +242,7 @@ if(total_cash >= threshold) break - if(total_cash >= threshhold) + if(total_cash >= threshold) for(var/obj/I in counted_money) qdel(I)