mirror of
https://github.com/DeltaV-Station/Delta-v.git
synced 2026-10-01 00:27:59 +00:00
Retractable items system + Arm Blade action (#38150)
This commit is contained in:
@@ -216,7 +216,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