1
0
mirror of https://github.com/Refactorio/RedMew.git synced 2024-12-12 10:04:40 +02:00

whitespace

This commit is contained in:
Jayefuu 2020-11-29 21:54:15 +00:00
parent fcca5de12a
commit f42367bb7c

View File

@ -345,7 +345,7 @@ local function do_bot_spawn(entity_name, entity, event)
repeat_cycle = 4
end
for i = 1, repeat_cycle do
if (cause.name == 'artillery-turret') or (cause.name == 'artillery-wagon') then
if (cause.name == 'artillery-turret') or (cause.name == 'artillery-wagon') then
spawn_entity.target = cause.position -- Overwrite target. Artillery turrets/wagons don't move so send them to entity position. Stops players from picking up the arty and the bots stopping dead.
spawn_entity.speed = 0.2