Status effect refactor (#4868)
* Oops! All Changes In One Commit * try desperately to fix prediction issues and fail * oops * test * actually fixes prediction issues * port jittering to status effect * default merge behavior + alert cooldown stuff * silly test issue * zabloing * address reviews
This commit is contained in:
@@ -51,8 +51,7 @@ namespace Content.Shared.Tabletop
|
||||
|
||||
protected static bool StunnedOrNoHands(IEntity playerEntity)
|
||||
{
|
||||
var stunned = playerEntity.TryGetComponent<StunnableComponent>(out var stun) &&
|
||||
stun.Stunned;
|
||||
var stunned = playerEntity.HasComponent<StunnedComponent>();
|
||||
var hasHand = playerEntity.TryGetComponent<SharedHandsComponent>(out var handsComponent) &&
|
||||
handsComponent.Hands.Count > 0;
|
||||
|
||||
|
||||
Reference in New Issue
Block a user