bugfix for IND2

This commit is contained in:
PreLeyZero 2022-06-19 10:55:26 +02:00
parent 23d0a86857
commit a1a9f4acd3
2 changed files with 10 additions and 1 deletions

View file

@ -1,4 +1,9 @@
---------------------------------------------------------------------------------------------------
Version: 1.0.29
Date: 08.06.2022
Bugfixes:
- fix bug with industrial revolution
---------------------------------------------------------------------------------------------------
Version: 1.0.28
Date: 17.06.2022
Features:

View file

@ -14,7 +14,11 @@ local function adjust_bounding_boxes(table_in)
data.raw[v[3]][v[1]].selection_box = data.raw[v[3]][v[2]].selection_box
--set fast_replaceable_group
if data.raw[v[3]][v[2]].fast_replaceable_group then
data.raw[v[3]][v[1]].fast_replaceable_group = data.raw[v[3]][v[2]].fast_replaceable_group
else
data.raw[v[3]][v[1]].fast_replaceable_group = v[3]
end
--collision mask
data.raw[v[3]][v[1]].collision_mask = data.raw[v[3]][v[2]].collision_mask