Remove drop argument in part removal methods and reorganize code (#2289)
* Remove IBodyPart.Drop and move attach/detach logic to body part code * Fix stack overflow
This commit is contained in:
@@ -260,7 +260,7 @@ namespace Content.Shared.GameObjects.Components.Body.Surgery
|
||||
performer.PopupMessage(Loc.GetString("Saw off the limb!"));
|
||||
|
||||
// TODO BODY do_after: Delay
|
||||
body.RemovePart(Parent, true);
|
||||
body.RemovePart(Parent);
|
||||
}
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user