Skip to content

Commit

Permalink
less Scav rezzers (beyond-all-reason#3135)
Browse files Browse the repository at this point in the history
  • Loading branch information
Damgam authored Jun 9, 2024
1 parent 74a9c6b commit 2711c6a
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion luarules/gadgets/scav_spawner_defense.lua
Original file line number Diff line number Diff line change
Expand Up @@ -1142,7 +1142,7 @@ if gadgetHandler:IsSyncedCode() then
end
end
end
if mRandom() <= config.spawnChance then
if mRandom() <= config.spawnChance and loopCounter == 1 then
squad = nil
squadCounter = 0
for _ = 1,1000 do
Expand Down

0 comments on commit 2711c6a

Please sign in to comment.