Skip to content

Commit

Permalink
Fixed bug: if g:rogue#tombstone is 0 and message is English, the spac…
Browse files Browse the repository at this point in the history
…e between 'a' and monster name was missing: like 'killed by ahobgoblin'.
  • Loading branch information
katono committed Jan 22, 2015
1 parent 197b636 commit 73b0887
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion autoload/rogue/score.lua
Original file line number Diff line number Diff line change
Expand Up @@ -145,7 +145,9 @@ function g.killed_by(monster, other)
buf = buf .. g.znum(g.rogue.gold)
buf = buf .. g.mesg[496]
else
buf = buf .. buf2
if buf2 ~= '' then
buf = buf .. ' ' .. buf2
end
buf = buf .. string.format(g.mesg[181]:gsub("%%ld", "%%d"), g.rogue.gold)
end
g.message(buf)
Expand Down

0 comments on commit 73b0887

Please sign in to comment.