From 8d91c2c06ef04a7915d23fa74823f5cc7f3d214d Mon Sep 17 00:00:00 2001 From: Sarah Jamie Lewis Date: Sat, 10 Aug 2019 17:37:59 -0700 Subject: [PATCH] Limit Drop --- actors/snowball.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/actors/snowball.go b/actors/snowball.go index c19edb5..0874588 100644 --- a/actors/snowball.go +++ b/actors/snowball.go @@ -27,7 +27,7 @@ func (sm *Snowball) Run(env *core.Environment, t *core.Turtle) { am1 := t.Amount(env,1,"1") am2 := t.Amount(env,1,"2") - t.Drop(env, sm.sureness, strconv.Itoa(sm.color)) + t.Drop(env, 1, strconv.Itoa(sm.color)) if am1 > sm.sureness || am2 > sm.sureness {