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:
parent
ba99b2c22c
commit
e31c1e061d
@ -1,3 +1,8 @@
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.3.2
|
||||
Bugfixes:
|
||||
- Fixed on_entity_died group could be invalid
|
||||
|
||||
---------------------------------------------------------------------------------------------------
|
||||
Version: 3.3.1
|
||||
Tweaks:
|
||||
|
@ -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)
|
||||
|
Loading…
x
Reference in New Issue
Block a user