Merge pull request #25790 from kevinz000/patch-116

threshhold --> threshold
This commit is contained in:
Joan Lung
2017-04-02 22:18:34 -04:00
committed by GitHub
+4 -4
View File
@@ -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,15 +234,15 @@
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)
if(total_cash >= threshold)
for(var/obj/I in counted_money)
qdel(I)