FlammableComponent: Fix bug where if an AI ends up on fire an exception occurs because it tries to update status (#2714)
This commit is contained in:
@@ -100,7 +100,7 @@ namespace Content.Server.GameObjects.Components.Atmos
|
||||
return;
|
||||
}
|
||||
|
||||
status.ShowAlert(AlertType.Fire, onClickAlert: OnClickAlert);
|
||||
status?.ShowAlert(AlertType.Fire, onClickAlert: OnClickAlert);
|
||||
|
||||
if (FireStacks > 0)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user