Skip to content

Commit

Permalink
Fixed issue causing newly-created characters to not be login-able unt…
Browse files Browse the repository at this point in the history
…il the next copyover
  • Loading branch information
luciensadi committed Jul 1, 2024
1 parent d051a32 commit 8ab9eb6
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/newdb.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1899,6 +1899,9 @@ bool PCIndex::SaveChar(char_data *ch, vnum_t loadroom, bool fromCopyover)
// Also regenerate their subscriber list rankings while you're at it.
regenerate_subscriber_list_rankings(ch);

// Make sure they're marked as existing in our global cache.
global_existing_player_cache[std::string(string_to_lowercase(GET_CHAR_NAME(ch)))] = TRUE;

return ret;
}

Expand Down

0 comments on commit 8ab9eb6

Please sign in to comment.