From e0b9b476ee2fd577e62afaab9b410f009516687b Mon Sep 17 00:00:00 2001 From: rubenwardy Date: Sat, 28 Nov 2015 01:46:40 +0000 Subject: [PATCH] Fix typo with precapture --- ctf_flag/flag_func.lua | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/ctf_flag/flag_func.lua b/ctf_flag/flag_func.lua index 74267d5..671d6c8 100644 --- a/ctf_flag/flag_func.lua +++ b/ctf_flag/flag_func.lua @@ -45,7 +45,7 @@ local function do_capture(attname, flag, returned) ctf_flag.registered_on_pick_up[i](attname, flag) end else - for i = 1, #ctf_flag.registered_on_prepick_up do + for i = 1, #ctf_flag.registered_on_precapture do if not ctf_flag.registered_on_precapture[i](attname, flag) then return end