This commit is contained in:
silicons
2020-12-11 15:05:00 -07:00
parent 6cc917bc07
commit 45a7c68da1
26 changed files with 160 additions and 41 deletions
+5
View File
@@ -371,6 +371,11 @@ SUBSYSTEM_DEF(ticker)
if(player.ready == PLAYER_READY_TO_PLAY && player.mind)
GLOB.joined_player_list += player.ckey
player.create_character(FALSE)
if(player.new_character && player.client && player.client.prefs) // we cannot afford a runtime, ever
LAZYOR(player.client.prefs.slots_joined_as, player.client.prefs.slot)
LAZYOR(player.client.prefs.characters_joined_as, player.new_character.real_name))
else
stack_trace("WARNING: Either a player did not have a new_character, did not have a client, or did not have preferences. This is VERY bad.")
else
player.new_player_panel()
CHECK_TICK