mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-05 22:07:25 +00:00
Fix Whoopie Cushions from lagging the game. (#39194)
This commit is contained in:
@@ -202,6 +202,10 @@ public sealed partial class StatusEffectsSystem : EntitySystem
|
||||
)
|
||||
{
|
||||
statusEffect = null;
|
||||
|
||||
if (duration <= TimeSpan.Zero)
|
||||
return false;
|
||||
|
||||
if (!CanAddStatusEffect(target, effectProto))
|
||||
return false;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user