Stunnable New Status and Cleanup (#38618)
Co-authored-by: Princess Cheeseballs <66055347+Pronana@users.noreply.github.com> Co-authored-by: pa.pecherskij <pa.pecherskij@interfax.ru>
This commit is contained in:
committed by
GitHub
parent
2b2b9b11b8
commit
e85bc1bb8c
@@ -42,7 +42,7 @@ public abstract class SharedRevolutionarySystem : EntitySystem
|
||||
var stunTime = TimeSpan.FromSeconds(4);
|
||||
var name = Identity.Entity(uid, EntityManager);
|
||||
RemComp<RevolutionaryComponent>(uid);
|
||||
_sharedStun.TryParalyze(uid, stunTime, true);
|
||||
_sharedStun.TryUpdateParalyzeDuration(uid, stunTime);
|
||||
_popupSystem.PopupEntity(Loc.GetString("rev-break-control", ("name", name)), uid);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user