forked from VoxeLibre/VoxeLibre
replace singleplayer with Sam
This commit is contained in:
parent
eefe38c4c0
commit
90855aa865
|
@ -189,9 +189,13 @@ function mcl_credits.show(player)
|
|||
end
|
||||
for _, tname in ipairs(group[3]) do
|
||||
y = y + 25
|
||||
local spname = name
|
||||
if minetest.is_singleplayer() then
|
||||
spname = "Sam"
|
||||
end
|
||||
add_hud_element({
|
||||
hud_elem_type = "text",
|
||||
text = tname:format(name),
|
||||
text = tname:format(spname),
|
||||
number = 0xFFFFFF,
|
||||
scale = {x = 1, y = 1},
|
||||
}, huds, y, 0)
|
||||
|
|
Loading…
Reference in New Issue