1
0
mirror of https://github.com/ComfyFactory/ComfyFactorio.git synced 2024-12-30 23:17:53 +02:00

Merge pull request #165 from ComfyFactory/wave_defense

wave defense - minor fix
This commit is contained in:
Gerkiz 2021-11-12 23:29:07 +01:00 committed by GitHub
commit 15353c6ebf
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23

View File

@ -1002,7 +1002,7 @@ local function spawn_unit_group(fs)
end
local boss_wave = WD.get('boss_wave')
if not boss_wave then
if boss_wave then
local count = math_random(1, math_floor(wave_number * 0.01) + 2)
if count > 16 then
count = 16