diff --git a/changelog.txt b/changelog.txt index 36a549e..6996bf1 100644 --- a/changelog.txt +++ b/changelog.txt @@ -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 diff --git a/control.lua b/control.lua index d217439..62ee697 100644 --- a/control.lua +++ b/control.lua @@ -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