C1984 (C4 nerf) (#7612)

This commit is contained in:
Alex Evgrashin
2022-04-24 03:22:14 +03:00
committed by GitHub
parent d6fc3d31c3
commit 8249185325
6 changed files with 42 additions and 6 deletions

View File

@@ -55,8 +55,12 @@ public sealed class StickySystem : EntitySystem
{
if (!Resolve(uid, ref component))
return false;
// check whitelist and blacklist
if (component.Whitelist != null && !component.Whitelist.IsValid(target))
return false;
if (component.Blacklist != null && component.Blacklist.IsValid(target))
return false;
// check if delay is not zero to start do after
var delay = (float) component.StickDelay.TotalSeconds;