mirror of
https://github.com/veden/Rampant.git
synced 2025-03-17 20:58:35 +02:00
FACTO-303: Fixed modded enemy structures not being registered
This commit is contained in:
parent
60451e662c
commit
c6c258082e
@ -4,6 +4,7 @@ Version: 3.3.1
|
||||
- Fixed hive owned structure cleanup routine from not checking hive id correctly
|
||||
- Fixed hive building cursor drifting
|
||||
- Fixed hive not updating build stats when upgraded
|
||||
- Fixed other modded enemy structures not be registered with Rampant
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.3.0
|
||||
|
@ -390,9 +390,7 @@ local function onBuild(event)
|
||||
if entity.valid then
|
||||
local entityForceName = entity.force.name
|
||||
if entityForceName == "enemy" then
|
||||
if BUILDING_HIVE_TYPE_LOOKUP[entity.name] then
|
||||
onEnemyBaseBuild(entity, event.tick)
|
||||
end
|
||||
onEnemyBaseBuild(entity, event.tick)
|
||||
else
|
||||
local map = Universe.maps[entity.surface.index]
|
||||
if not map then
|
||||
|
Loading…
x
Reference in New Issue
Block a user