diff --git a/luarules/gadgets/raptor_spawner_defense.lua b/luarules/gadgets/raptor_spawner_defense.lua index 5c608c38836..174f08ec218 100644 --- a/luarules/gadgets/raptor_spawner_defense.lua +++ b/luarules/gadgets/raptor_spawner_defense.lua @@ -715,7 +715,7 @@ if gadgetHandler:IsSyncedCode() then local spread = config.burrowSize*1.5 local spawnPosX, spawnPosY, spawnPosZ - if config.useScum and config.burrowSpawnType ~= "alwaysbox" and GetGameSeconds() > config.gracePeriod then -- Attempt #1, find position in creep/scum (skipped if creep is disabled or alwaysbox is enabled) + if config.useScum then -- Attempt #1, find position in creep/scum (skipped if creep is disabled or alwaysbox is enabled) for _ = 1,100 do spawnPosX = mRandom(spread, MAPSIZEX - spread) spawnPosZ = mRandom(spread, MAPSIZEZ - spread) diff --git a/luarules/gadgets/scav_spawner_defense.lua b/luarules/gadgets/scav_spawner_defense.lua index 0812feb1e7c..96b204deaff 100644 --- a/luarules/gadgets/scav_spawner_defense.lua +++ b/luarules/gadgets/scav_spawner_defense.lua @@ -725,7 +725,7 @@ if gadgetHandler:IsSyncedCode() then local spawnPosX, spawnPosY, spawnPosZ if config.burrowSpawnType ~= "avoid" then - if config.useScum and config.burrowSpawnType ~= "alwaysbox" and GetGameSeconds() > config.gracePeriod then -- Attempt #1, find position in creep/scum (skipped if creep is disabled or alwaysbox is enabled) + if config.useScum then -- Attempt #1, find position in creep/scum (skipped if creep is disabled or alwaysbox is enabled) for _ = 1,1000 do spawnPosX = mRandom(spread, MAPSIZEX - spread) spawnPosZ = mRandom(spread, MAPSIZEZ - spread)