Release 1.9.7.0 - Summer Update 2025
This commit is contained in:
@@ -833,6 +833,9 @@ namespace Barotrauma
|
||||
causeOfDeathAffliction = afflictionPrefab;
|
||||
}
|
||||
}
|
||||
|
||||
Character killer = FindEntityByID(msg.ReadUInt16()) as Character;
|
||||
|
||||
bool containsAfflictionData = msg.ReadBoolean();
|
||||
if (!IsDead)
|
||||
{
|
||||
@@ -842,7 +845,7 @@ namespace Barotrauma
|
||||
}
|
||||
else
|
||||
{
|
||||
Kill(causeOfDeathType, causeOfDeathAffliction?.Instantiate(1.0f), true);
|
||||
Kill(causeOfDeathType, causeOfDeathAffliction?.Instantiate(1.0f, killer), true);
|
||||
}
|
||||
}
|
||||
if (containsAfflictionData)
|
||||
|
||||
Reference in New Issue
Block a user