1
0
mirror of https://github.com/veden/Rampant.git synced 2025-03-17 20:58:35 +02:00

FACTO-317: Fixed group could be invalid on entity death

This commit is contained in:
Aaron Veden 2023-04-08 21:16:37 -07:00
parent ba99b2c22c
commit e31c1e061d
No known key found for this signature in database
GPG Key ID: FF5990B1C6DD3F84
3 changed files with 7 additions and 2 deletions

View File

@ -1,3 +1,8 @@
---------------------------------------------------------------------------------------------------
Version: 3.3.2
Bugfixes:
- Fixed on_entity_died group could be invalid
---------------------------------------------------------------------------------------------------
Version: 3.3.1
Tweaks:

View File

@ -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)

View File

@ -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",