(18165dcb9) Propagate hull safety once per second.
This commit is contained in:
@@ -4,7 +4,6 @@ using System;
|
||||
using System.Collections.Generic;
|
||||
using System.Linq;
|
||||
using Barotrauma.Extensions;
|
||||
using Barotrauma.Items.Components;
|
||||
|
||||
namespace Barotrauma
|
||||
{
|
||||
@@ -126,6 +125,10 @@ namespace Barotrauma
|
||||
}
|
||||
else
|
||||
{
|
||||
if (Character.CurrentHull != null)
|
||||
{
|
||||
VisibleHulls.ForEach(h => PropagateHullSafety(Character.Controlled, h));
|
||||
}
|
||||
if (Character.SpeechImpediment < 100.0f)
|
||||
{
|
||||
ReportProblems();
|
||||
|
||||
Reference in New Issue
Block a user