Tutorial: show sentries amount right after all 6 sentries spawn

This commit is contained in:
Zughy 2023-07-28 01:36:52 +02:00
parent bc97c92e09
commit 7d0f93c15e

View File

@ -270,7 +270,7 @@ function phase4(player)
minetest.after(6, function()
if not tracker[p_name] then return end
arena_lib.HUD_send_msg("broadcast", p_name, S("Sentry guns left: @1", "???"))
arena_lib.HUD_send_msg("broadcast", p_name, S("Sentry guns left: @1", "1?"))
minetest.add_entity(e_pos1, "bl_tutorial:sentry")
player:get_attach():remove()
end)
@ -309,6 +309,8 @@ function bl_tutorial.decrease_sentries(p_name)
minetest.add_entity(e_pos4, "bl_tutorial:sentry")
minetest.add_entity(e_pos5, "bl_tutorial:sentry")
minetest.add_entity(e_pos6, "bl_tutorial:sentry")
arena_lib.HUD_send_msg("broadcast", p_name, S("Sentry guns left: @1", sentries_left))
end)
else