Fix climbing out of CloningPod and MedicalScanner (#8191)

* Fix climbing out of CloningPod and MedicalScanner

* Fix mask

* Fix test
This commit is contained in:
Jacob Tong
2022-05-15 02:57:13 -07:00
committed by GitHub
parent 9255cc97a9
commit cecd1b9ef6
6 changed files with 60 additions and 47 deletions

View File

@@ -267,7 +267,7 @@ namespace Content.Server.Medical
if (scannerComponent.BodyContainer.ContainedEntity is not {Valid: true} contained) return;
scannerComponent.BodyContainer.Remove(contained);
_climbSystem.ForciblySetClimbing(contained);
_climbSystem.ForciblySetClimbing(contained, uid);
UpdateUserInterface(uid, scannerComponent);
UpdateAppearance(scannerComponent.Owner, scannerComponent);
}