@@ -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