This commit is contained in:
Applevangelist
2025-01-27 18:48:39 +01:00
parent 4656d3e019
commit 41dfaab82a
+2 -2
View File
@@ -21,7 +21,7 @@
-- === -- ===
-- @module Ops.PlayerTask -- @module Ops.PlayerTask
-- @image OPS_PlayerTask.jpg -- @image OPS_PlayerTask.jpg
-- @date Last Update Nov 2024 -- @date Last Update Jan 2025
do do
@@ -1184,7 +1184,7 @@ function PLAYERTASK:onafterSuccess(From, Event, To)
if self.TargetMarker then if self.TargetMarker then
self.TargetMarker:Remove() self.TargetMarker:Remove()
end end
if self.TaskController.Scoring then if self.TaskController and self.TaskController.Scoring then
local clients,count = self:GetClientObjects() local clients,count = self:GetClientObjects()
if count > 0 then if count > 0 then
for _,_client in pairs(clients) do for _,_client in pairs(clients) do