fixed respawn airgroup throwing errors (#52)
This commit is contained in:
@@ -297,8 +297,9 @@ do --- RESPAWN FUNCTIONS
|
|||||||
function AirGroup:StartRespawn()
|
function AirGroup:StartRespawn()
|
||||||
self:SetState("Dead")
|
self:SetState("Dead")
|
||||||
|
|
||||||
|
---@param selfA AirGroup
|
||||||
local respawnTask = function(selfA, time)
|
local respawnTask = function(selfA, time)
|
||||||
selfA:RepairDelayed()
|
selfA:StartRepair()
|
||||||
end
|
end
|
||||||
|
|
||||||
local delay = self._config:getDeathDelay()
|
local delay = self._config:getDeathDelay()
|
||||||
@@ -315,6 +316,8 @@ do --- RESPAWN FUNCTIONS
|
|||||||
self:Spawn()
|
self:Spawn()
|
||||||
end
|
end
|
||||||
|
|
||||||
|
---comment
|
||||||
|
---@param selfA AirGroup
|
||||||
local rearmTask = function(selfA, time)
|
local rearmTask = function(selfA, time)
|
||||||
self:StartRearm()
|
self:StartRearm()
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user