Fixed railgun aiming, fixed EntityEvent not being sent if a character is killed by something else than health dropping to zero
This commit is contained in:
@@ -198,6 +198,7 @@ namespace Barotrauma.Items.Components
|
||||
return;
|
||||
}
|
||||
|
||||
character.ViewTarget = focusTarget;
|
||||
if (character == Character.Controlled && cam != null)
|
||||
{
|
||||
Lights.LightManager.ViewTarget = focusTarget;
|
||||
|
||||
Reference in New Issue
Block a user