summaryrefslogtreecommitdiff
path: root/init.lua
diff options
context:
space:
mode:
Diffstat (limited to 'init.lua')
-rw-r--r--init.lua2
1 files changed, 1 insertions, 1 deletions
diff --git a/init.lua b/init.lua
index 8b7ddfc..c6e3733 100644
--- a/init.lua
+++ b/init.lua
@@ -601,8 +601,8 @@ doc.new_category("nodes", {
if math.fmod(chance, 1) > 0 then
ca = "ca. "
end
+ formstring = formstring .. string.format(" (%s%.0f%%)", ca, chance)
end
- formstring = formstring .. string.format(" (%s%.0f%%)", ca, chance)
end
pcount = pcount + 1
end