Bugfix: sign wasn't updated when someone joined while a game was in progress

This commit is contained in:
Zughy 2020-11-09 00:00:00 +01:00
parent 2ca9d86a6b
commit b7ee1dd971

View File

@ -237,6 +237,7 @@ signs_lib.register_sign("arena_lib:sign", {
if sign_arena.in_game then
arena_lib.join_arena(mod, pl_name, arenaID)
arena_lib.send_message_players_in_arena(sign_arena, minetest.colorize("#c6f154", " >>> " .. pl_name))
arena_lib.update_sign(sign_arena)
return
else
arena_lib.add_to_queue(pl_name, mod, arenaID)