refactor(Scripts/Commands): code cleanup (part 4) (#6921)

This commit is contained in:
Francesco Borzì
2021-07-18 13:25:44 +02:00
committed by GitHub
parent a57c4fd3b8
commit fab0fc421b
9 changed files with 53 additions and 53 deletions

View File

@@ -158,7 +158,7 @@ public:
std::string chrNameLink = handler->playerLink(target_name);
if (target->IsBeingTeleported() == true)
if (target->IsBeingTeleported())
{
handler->PSendSysMessage(LANG_IS_TELEPORTED, chrNameLink.c_str());
handler->SetSentErrorMessage(true);