mirror of
https://github.com/space-syndicate/space-station-14.git
synced 2026-02-15 03:50:54 +01:00
@@ -50,7 +50,7 @@ public sealed partial class DisassembleOnAltVerbSystem : EntitySystem
|
||||
|
||||
private void OnDisassembleDoAfter(Entity<DisassembleOnAltVerbComponent> entity, ref DisassembleDoAfterEvent args)
|
||||
{
|
||||
if (!_net.IsServer) // This is odd but it works :)
|
||||
if (!_net.IsServer || args.Cancelled) // This is odd but it works :)
|
||||
return;
|
||||
|
||||
if (TrySpawnNextTo(entity.Comp.PrototypeToSpawn, entity.Owner, out var spawnedEnt))
|
||||
|
||||
Reference in New Issue
Block a user