From 5560848d2ae9b15c8672eb03cc4aabdaa3fbaed9 Mon Sep 17 00:00:00 2001 From: Zughy <4279489-marco_a@users.noreply.gitlab.com> Date: Tue, 23 Feb 2021 01:47:20 +0100 Subject: [PATCH] Removed useless on_quit call on force_arena_ending --- src/api/in_game.lua | 7 ------- 1 file changed, 7 deletions(-) diff --git a/src/api/in_game.lua b/src/api/in_game.lua index 5b70fef..b901551 100644 --- a/src/api/in_game.lua +++ b/src/api/in_game.lua @@ -564,13 +564,6 @@ function arena_lib.force_arena_ending(mod, arena, sender) return end arena_lib.send_message_in_arena(arena, "both", minetest.colorize("#d69298", S("The arena has been forcibly terminated by @1", sender))) - - if mod_ref.on_quit then - for psp_name, _ in pairs(arena.players_and_spectators) do - mod_ref.on_quit(arena, p_name, is_spectator, true) - end - end - arena_lib.end_arena(mod_ref, mod, arena, _, true) return true end