mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2026-08-23 13:18:09 +01:00
[MIRROR] fix a var name issue, and nosleeve trait prevents being added to sleeve database (#12136)
Co-authored-by: Will <7099514+Willburd@users.noreply.github.com>
This commit is contained in:
co-authored by
Will
parent
95d92151db
commit
48f5135403
@@ -525,18 +525,18 @@ ADMIN_VERB(respawn_character, (R_ADMIN|R_REJUVINATE), "Spawn Character", "(Re)Sp
|
||||
return
|
||||
|
||||
// Respect admin spawn record choice. There's really not a nice way to do this without butchering copy_to() code for an admin proc
|
||||
var/old_mind_scan = picked_client.prefs.resleeve_scan
|
||||
var/old_body_scan = picked_client.prefs.mind_scan
|
||||
var/old_mind_scan = picked_client.prefs.mind_scan
|
||||
var/old_body_scan = picked_client.prefs.resleeve_scan
|
||||
if(!records) // Make em false for the copy_to()
|
||||
picked_client.prefs.resleeve_scan = FALSE
|
||||
picked_client.prefs.mind_scan = FALSE
|
||||
picked_client.prefs.resleeve_scan = FALSE
|
||||
|
||||
//Write the appearance and whatnot out to the character
|
||||
picked_client.prefs.copy_to(new_character)
|
||||
|
||||
// Restore pref state
|
||||
picked_client.prefs.resleeve_scan = old_mind_scan
|
||||
picked_client.prefs.mind_scan = old_body_scan
|
||||
picked_client.prefs.mind_scan = old_mind_scan
|
||||
picked_client.prefs.resleeve_scan = old_body_scan
|
||||
|
||||
//Write the appearance and whatnot out to the character
|
||||
if(new_character.dna)
|
||||
|
||||
Reference in New Issue
Block a user