Skip to content

Commit

Permalink
Fix circular saw infotext message on initial placement
Browse files Browse the repository at this point in the history
The concatenation operator was mistakenly written as `.`
instead of `..`.
  • Loading branch information
Calinou committed Mar 20, 2019
1 parent 0fea5ee commit 1d054ec
Showing 1 changed file with 2 additions and 6 deletions.
8 changes: 2 additions & 6 deletions circular_saw.lua
Original file line number Diff line number Diff line change
Expand Up @@ -140,9 +140,7 @@ function circular_saw:reset(pos)
inv:set_list("output", {})

meta:set_int("anz", 0)
meta:set_string("infotext",
S("Circular Saw is empty") .. owned_by
)
meta:set_string("infotext", S("Circular Saw is empty") .. owned_by)
end


Expand Down Expand Up @@ -452,9 +450,7 @@ minetest.register_node("moreblocks:circular_saw", {
end

meta:set_string("owner", owner)
meta:set_string("infotext",
S("Circular Saw is empty") . owned_by
)
meta:set_string("infotext", S("Circular Saw is empty") .. owned_by)
end,

-- The amount of items offered per shape can be configured:
Expand Down

0 comments on commit 1d054ec

Please sign in to comment.