diff --git a/client/luascripts/lf_em_tearoff_protect.lua b/client/luascripts/lf_em_tearoff_protect.lua index abf097ca9..4b78f3eaf 100644 --- a/client/luascripts/lf_em_tearoff_protect.lua +++ b/client/luascripts/lf_em_tearoff_protect.lua @@ -111,6 +111,10 @@ local function main(args) else rd_value = ('%08X'):format(word14) end + if rd_value == '00008000' then + print('Tag already fully unlocked, nothing to do') + return nil + end local wr_value = '00000000' n = n or 2 sd = sd or 2000