Announce messages are like logs: Server language, not localized.
These were malforming IRC and log output messages, so I'm reverting this. `(T@boxes)Flerker100E completed box F27E!E`
This commit is contained in:
parent
6d538955fd
commit
6f82f9a8b8
@ -198,8 +198,8 @@ function boxes.player_success(player)
|
||||
-- omit check if tutorial is actually required here
|
||||
if sid == conf.tutorial.series then
|
||||
player:set_attribute("tutorial_completed", 1)
|
||||
announce.all(S("@1 completed the tutorial!", name))
|
||||
announce.admins(S("@1 completed the tutorial!", name))
|
||||
announce.all(name .. " completed the tutorial!")
|
||||
announce.admins(name .. " completed the tutorial!")
|
||||
-- reward: create priv
|
||||
local privs = minetest.get_player_privs(name)
|
||||
privs.create = true
|
||||
@ -267,7 +267,7 @@ minetest.register_globalstep(function(dtime)
|
||||
else
|
||||
-- We closed the last door: the player got out!
|
||||
boxes.player_success(player)
|
||||
announce.all(S("@1 completed box @2!", playername, info.box_id))
|
||||
announce.all(playername .. " completed box " .. info.box_id .. "!")
|
||||
music.start(player, info, "exit")
|
||||
end
|
||||
else
|
||||
|
Loading…
x
Reference in New Issue
Block a user