From b240cc87d6c88744b015b372b17965c1cd20dd30 Mon Sep 17 00:00:00 2001 From: marco_a <4279489-marco_a@users.noreply.gitlab.com> Date: Fri, 5 Jan 2024 01:41:55 +0100 Subject: [PATCH] Decrease immunity time from 6 to 5 seconds --- block_league/init.lua | 3 ++- block_league/src/arena_lib/on_death.lua | 2 +- 2 files changed, 3 insertions(+), 2 deletions(-) diff --git a/block_league/init.lua b/block_league/init.lua index 47cf918..78b3c0e 100644 --- a/block_league/init.lua +++ b/block_league/init.lua @@ -46,7 +46,8 @@ arena_lib.register_minigame("block_league", { properties = { mode = 1, -- 0 Tutorial, 1 TD, 2 DM score_cap = 5, - immunity_time = 6, + immunity_time = 5, + death_waiting_time = 6, goal_orange = {}, goal_blue = {}, waiting_room_orange = {}, diff --git a/block_league/src/arena_lib/on_death.lua b/block_league/src/arena_lib/on_death.lua index 6adbc86..8029c24 100644 --- a/block_league/src/arena_lib/on_death.lua +++ b/block_league/src/arena_lib/on_death.lua @@ -51,7 +51,7 @@ arena_lib.on_death("block_league", function(arena, p_name, reason) p_meta:set_int("bl_death_delay", 1) block_league.deactivate_zoom(player) - wait_for_respawn(arena, p_name, 6) + wait_for_respawn(arena, p_name, arena.death_waiting_time) end)