Retractable items system + Arm Blade action (#38150)
This commit is contained in:
@@ -215,7 +215,10 @@ namespace Content.Shared.Interaction
|
||||
/// </summary>
|
||||
private void OnRemoveAttempt(EntityUid uid, UnremoveableComponent item, ContainerGettingRemovedAttemptEvent args)
|
||||
{
|
||||
args.Cancel();
|
||||
// don't prevent the server state for the container from being applied to the client correctly
|
||||
// otherwise this will cause an error if the client predicts adding UnremoveableComponent
|
||||
if (!_gameTiming.ApplyingState)
|
||||
args.Cancel();
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
|
||||
Reference in New Issue
Block a user