Skip to content

Commit

Permalink
fix log message for killer tomato becoming tomato
Browse files Browse the repository at this point in the history
  • Loading branch information
44100hertz committed Sep 19, 2024
1 parent 225d3c9 commit 98a53c5
Showing 1 changed file with 3 additions and 2 deletions.
5 changes: 3 additions & 2 deletions src/actors/killer-tomato.fnl
Original file line number Diff line number Diff line change
Expand Up @@ -36,7 +36,8 @@

(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!")))
(do
(dungeon.spawn-actor s :tomato actor.pos)
(dungeon.log "The Killer Tomato became docile!"))))

kt

0 comments on commit 98a53c5

Please sign in to comment.