mirror of
https://github.com/CHOMPStation2/CHOMPStation2.git
synced 2025-12-11 10:43:20 +00:00
Added a forced, immediate refresh of the icons after the character is made.
This eliminates a race condition between spawning in and the icon cache being updated to include the body.
This commit is contained in:
@@ -430,6 +430,9 @@
|
|||||||
// And uncomment this, too.
|
// And uncomment this, too.
|
||||||
//new_character.dna.UpdateSE()
|
//new_character.dna.UpdateSE()
|
||||||
|
|
||||||
|
// Do the initial caching of the player's body icons.
|
||||||
|
new_character.regenerate_icons()
|
||||||
|
|
||||||
new_character.key = key //Manually transfer the key to log them in
|
new_character.key = key //Manually transfer the key to log them in
|
||||||
|
|
||||||
return new_character
|
return new_character
|
||||||
|
|||||||
Reference in New Issue
Block a user