mirror of
https://github.com/FlightControl-Master/MOOSE.git
synced 2025-10-29 16:58:06 +00:00
CTLD
This commit is contained in:
parent
e9d812f315
commit
c1855cefd3
@ -7214,7 +7214,8 @@ end
|
||||
-- right subtype?
|
||||
if Event == subtype and not task:IsDone() then
|
||||
local targetzone = task.Target:GetObject() -- Core.Zone#ZONE should be a zone in this case ....
|
||||
--self:T2({Name=Groupname,Property=task:GetProperty("ExtractName")})
|
||||
self:T2({Name=Groupname,Property=task:GetProperty("ExtractName")})
|
||||
if task:GetProperty("ExtractName") then
|
||||
local okaygroup = string.find(Groupname,task:GetProperty("ExtractName"),1,true)
|
||||
if targetzone and targetzone.ClassName and string.match(targetzone.ClassName,"ZONE") and okaygroup then
|
||||
if task.Clients:HasUniqueID(playername) then
|
||||
@ -7222,6 +7223,9 @@ end
|
||||
task:__Success(-1)
|
||||
end
|
||||
end
|
||||
else
|
||||
self:T({Text="'ExtractName' Property not set",Name=Groupname,Property=task.Type})
|
||||
end
|
||||
end
|
||||
end
|
||||
)
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user