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:
JimTheCactus
2014-08-17 12:34:02 -06:00
parent 9f57c1b16e
commit e74d92370d

View File

@@ -430,6 +430,9 @@
// And uncomment this, too.
//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
return new_character