Option to set a duration for a status effect
This commit is contained in:
@@ -1042,7 +1042,7 @@ namespace Barotrauma.Networking
|
||||
|
||||
do
|
||||
{
|
||||
secondsLeft -= CoroutineManager.DeltaTime;
|
||||
secondsLeft -= CoroutineManager.UnscaledDeltaTime;
|
||||
|
||||
yield return CoroutineStatus.Running;
|
||||
} while (secondsLeft > 0.0f);
|
||||
|
||||
Reference in New Issue
Block a user