diff --git a/changelog.txt b/changelog.txt index 833382a..ea4bef2 100644 --- a/changelog.txt +++ b/changelog.txt @@ -1,3 +1,8 @@ +--------------------------------------------------------------------------------------------------- +Version: 3.3.2 + Bugfixes: + - Fixed on_entity_died group could be invalid + --------------------------------------------------------------------------------------------------- Version: 3.3.1 Tweaks: diff --git a/control.lua b/control.lua index e4cef04..b76bde9 100644 --- a/control.lua +++ b/control.lua @@ -455,7 +455,7 @@ local function onDeath(event) end else local group = entity.unit_group - if group then + if group and group.valid then squad = Universe.groupNumberToSquad[group.group_number] if squad then decompressSquad(squad, tick) diff --git a/info.json b/info.json index b189c28..0dbbb24 100644 --- a/info.json +++ b/info.json @@ -1,7 +1,7 @@ { "name" : "Rampant", "factorio_version" : "1.1", - "version" : "3.3.1", + "version" : "3.3.2", "title" : "Rampant", "author" : "Veden", "homepage" : "https://forums.factorio.com/viewtopic.php?f=94&t=31445",