diff --git a/src/actors/killer-tomato.fnl b/src/actors/killer-tomato.fnl index ae8d28b..14cb543 100644 --- a/src/actors/killer-tomato.fnl +++ b/src/actors/killer-tomato.fnl @@ -36,7 +36,7 @@ (fn kt.on-death [s actor] (when (< (love.math.random) 0.2) - (dungeon.spawn-actor s :tomato actor.pos - (dungeon.log (.. "The Killer Tomato became docile!"))))) + (dungeon.spawn-actor s :tomato actor.pos)) + (dungeon.log (.. "The Killer Tomato became docile!"))) kt diff --git a/src/actors/tomato.fnl b/src/actors/tomato.fnl index 92abbd3..bfbe17b 100644 --- a/src/actors/tomato.fnl +++ b/src/actors/tomato.fnl @@ -1,7 +1,7 @@ (local tomato {}) (fn tomato.spawn [s pos] - {: kind + {:kind "tomato" :name "tomato" : pos :color [1 0 0]