Skip to content

Commit

Permalink
Typo
Browse files Browse the repository at this point in the history
  • Loading branch information
brightrim committed Oct 5, 2024
1 parent bba5ff7 commit ad506ba
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/Player.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1632,7 +1632,7 @@ void Player::introducePlayer(Player *player) {
void Player::namePlayer(TYPE_OF_CHARACTER_ID playerId, const std::string &name) {
const Character *character = World::get()->findCharacter(playerId);

if (character != nullptr) {
if (character == nullptr) {

Logger::error(LogFacility::Player) << to_string() << " tried to name another player that already logged off." << Log::end;

Expand Down

0 comments on commit ad506ba

Please sign in to comment.