Fix a bogus condition
This commit is contained in:
@@ -91,7 +91,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KillOrdos)
|
||||
end
|
||||
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[ordos] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[ordos] then
|
||||
local units = ordos.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -91,7 +91,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KillOrdos)
|
||||
end
|
||||
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[ordos] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[ordos] then
|
||||
local units = ordos.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -114,7 +114,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KeepIntegrity)
|
||||
end
|
||||
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[harkonnen] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[harkonnen] then
|
||||
local units = harkonnen.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -260,7 +260,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KillSmuggler)
|
||||
end
|
||||
|
||||
if LastHarvesterEaten[harkonnen] and DateTime.GameTime % DateTime.Seconds(30) then
|
||||
if LastHarvesterEaten[harkonnen] and DateTime.GameTime % DateTime.Seconds(10) == 0 then
|
||||
local units = harkonnen.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -107,7 +107,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KillAtreides)
|
||||
end
|
||||
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[atreides] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[atreides] then
|
||||
local units = atreides.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -109,7 +109,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KillAtreides)
|
||||
end
|
||||
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[atreides] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[atreides] then
|
||||
local units = atreides.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -142,7 +142,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KillFremen)
|
||||
end
|
||||
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[atreides] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[atreides] then
|
||||
local units = atreides.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -90,7 +90,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KillHarkonnen)
|
||||
end
|
||||
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[harkonnen] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[harkonnen] then
|
||||
local units = harkonnen.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -127,7 +127,7 @@ Tick = function()
|
||||
player.MarkCompletedObjective(KillHarkonnen)
|
||||
end
|
||||
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[harkonnen] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[harkonnen] then
|
||||
local units = harkonnen.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
@@ -71,7 +71,7 @@ Hunt = function(house)
|
||||
end
|
||||
|
||||
CheckHarvester = function(house)
|
||||
if DateTime.GameTime % DateTime.Seconds(30) and LastHarvesterEaten[house] then
|
||||
if DateTime.GameTime % DateTime.Seconds(10) == 0 and LastHarvesterEaten[house] then
|
||||
local units = house.GetActorsByType("harvester")
|
||||
|
||||
if #units > 0 then
|
||||
|
||||
Reference in New Issue
Block a user