Optimise drains (#32230)

* Optimise drains

If it's still a problem then we do what I did for rmc14 and just dump all the active drains onto a job to getentitiesinrange in parallel.

* Fixes
This commit is contained in:
metalgearsloth
2024-09-28 15:16:54 +10:00
committed by GitHub
parent caac678fa6
commit dd376e4e84
2 changed files with 16 additions and 26 deletions

View File

@@ -52,7 +52,7 @@ public sealed partial class DrainComponent : Component
/// drain puddles from.
/// </summary>
[DataField]
public float Range = 2f;
public float Range = 2.5f;
/// <summary>
/// How often in seconds the drain checks for puddles around it.