mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
fixed trying to build same structure with new enemies
This commit is contained in:
parent
879205d0d5
commit
468237d17e
@ -5,6 +5,7 @@ Date: 23. 11. 2021
|
||||
- Fixed vengence squads only processing half the expected chunks
|
||||
- Fixed nest processing only processing half the nests (Thank you Dimm2101)
|
||||
- Fixed active and raid nest processing only processing half the nests (Thank you Dimm2101)
|
||||
- Fixed new enemy building upgrade could replace an entity with the same entity (Thank you Dimm2101)
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 1.1.4
|
||||
|
@ -280,7 +280,7 @@ function baseUtils.upgradeEntity(entity, baseAlignment, map, disPos, evolve)
|
||||
map,
|
||||
evolve)
|
||||
|
||||
if spawnerName then
|
||||
if spawnerName and (spawnerName ~= entity.name) then
|
||||
entity.destroy()
|
||||
local name = universe.buildingSpaceLookup[spawnerName] or spawnerName
|
||||
local query = universe.upgradeEntityQuery
|
||||
|
Loading…
x
Reference in New Issue
Block a user