Commit fdbe365c authored by wind2009's avatar wind2009

Fix 天地再世

parent 5f4bb1b5
......@@ -109,8 +109,8 @@ end
function s.tgcon(e,tp,eg,ep,ev,re,r,rp)
local g=e:GetLabelObject()
local fid=e:GetLabel()
if g:FilterCount(s.tcfilter,nil,fid)==0 then
g:DeleteGroup()
if not g or g:FilterCount(s.tcfilter,nil,fid)==0 then
if g then g:DeleteGroup() end
e:Reset()
return false
else return true end
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment