chore(Core/Arena): LANG_AREAN_ERROR_NAME_NOT_FOUND > LANG_ARENA_ERROR_NAME_NOT_FOUND (#8737)

This commit is contained in:
IntelligentQuantum
2021-10-26 12:50:38 +03:30
committed by GitHub
parent bde8b4c6a6
commit 04143658ab
2 changed files with 3 additions and 3 deletions

View File

@@ -863,7 +863,7 @@ enum AcoreStrings
LANG_ARENA_ERROR_NAME_EXISTS = 858,
LANG_ARENA_ERROR_SIZE = 859,
LANG_ARENA_ERROR_COMBAT = 860,
LANG_AREAN_ERROR_NAME_NOT_FOUND = 861,
LANG_ARENA_ERROR_NAME_NOT_FOUND = 861,
LANG_ARENA_ERROR_NOT_MEMBER = 862,
LANG_ARENA_ERROR_CAPTAIN = 863,
LANG_ARENA_CREATE = 864,

View File

@@ -126,7 +126,7 @@ public:
ArenaTeam* arena = sArenaTeamMgr->GetArenaTeamByName(oldName);
if (!arena)
{
handler->PSendSysMessage(LANG_AREAN_ERROR_NAME_NOT_FOUND, oldName.c_str());
handler->PSendSysMessage(LANG_ARENA_ERROR_NAME_NOT_FOUND, oldName.c_str());
handler->SetSentErrorMessage(true);
return false;
}
@@ -241,7 +241,7 @@ public:
}
if (!found)
handler->PSendSysMessage(LANG_AREAN_ERROR_NAME_NOT_FOUND, std::string(needle).c_str());
handler->PSendSysMessage(LANG_ARENA_ERROR_NAME_NOT_FOUND, std::string(needle).c_str());
return true;
}