Allow multiple SStranscore databases (#10450)

* Allow multiple SStranscore databases

* Add key to backup implanter too

* Key passing tweak

* Fix issue Leshana spotted

* Add optimization Leshana spotted

* Fixxy more multitranscore bugs
This commit is contained in:
Aronai Sieyes
2021-05-30 18:53:18 -04:00
committed by Chompstation Bot
parent 1c3e965b5c
commit 9134933442
14 changed files with 214 additions and 92 deletions

View File

@@ -461,12 +461,7 @@
//VOREStation Edit - Resleeving.
if(to_despawn.mind)
if(to_despawn.mind.name in SStranscore.backed_up)
var/datum/transhuman/mind_record/MR = SStranscore.backed_up[to_despawn.mind.name]
SStranscore.stop_backup(MR)
if(to_despawn.mind.name in SStranscore.body_scans) //This uses mind names to avoid people cryo'ing a printed body to delete body scans.
var/datum/transhuman/body_record/BR = SStranscore.body_scans[to_despawn.mind.name]
SStranscore.remove_body(BR)
SStranscore.leave_round(to_despawn)
//VOREStation Edit End - Resleeving.
//Handle job slot/tater cleanup.