Timer fix on player leaving the queue

This commit is contained in:
Marco 2020-04-04 18:33:33 +02:00
parent 9344c0e643
commit a362f56f4c

View File

@ -45,7 +45,7 @@ minetest.override_item("default:sign_wall", {
-- se non ci sono più abbastanza giocatori, annullo la coda
if arena_lib.get_arena_players_count(arenaID) < sign_arena.min_players and sign_arena.in_queue then
timer:stop()
minetest.get_node_timer(pos):stop()
arena_lib.send_message_players_in_arena(arenaID, prefix .. "La coda è stata annullata per troppi pochi giocatori")
end
end