Remove 2 string.formats
This commit is contained in:
parent
a3ff3f290e
commit
1005c406b1
4
init.lua
4
init.lua
@ -165,8 +165,8 @@ if(minetest.get_modpath("technic")) then
|
||||
end
|
||||
|
||||
if(minetest.get_modpath("mana") ~= nil) then
|
||||
local dmana = string.format(S("Magical point teleporters are fueled by mana and require %d mana per teleportation."), teletool.settings.cost_mana)
|
||||
local manause = string.format(S("First make sure you have at least %d mana."), teletool.settings.cost_mana)
|
||||
local dmana = S("Magical point teleporters are fueled by mana and require @1 mana per teleportation.", string.format("%d", teletool.settings.cost_mana))
|
||||
local manause = S("First make sure you have at least @1 mana.", string.format("%d", teletool.settings.cost_mana))
|
||||
local desc_mana = base .. "\n" .. dmana
|
||||
local use_mana = manause .. " " .. baseuse
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user