Skip to content

Commit

Permalink
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
fix: potential typo/scope fixes
Browse files Browse the repository at this point in the history
winny- committed Sep 18, 2024
1 parent 7016df9 commit 225d3c9
Showing 2 changed files with 3 additions and 3 deletions.
4 changes: 2 additions & 2 deletions src/actors/killer-tomato.fnl
Original file line number Diff line number Diff line change
@@ -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
2 changes: 1 addition & 1 deletion src/actors/tomato.fnl
Original file line number Diff line number Diff line change
@@ -1,7 +1,7 @@
(local tomato {})

(fn tomato.spawn [s pos]
{: kind
{:kind "tomato"
:name "tomato"
: pos
:color [1 0 0]

0 comments on commit 225d3c9

Please sign in to comment.