diff --git a/src/LuaEngine/methods/PlayerMethods.h b/src/LuaEngine/methods/PlayerMethods.h index 5501182..2f64078 100644 --- a/src/LuaEngine/methods/PlayerMethods.h +++ b/src/LuaEngine/methods/PlayerMethods.h @@ -4025,8 +4025,6 @@ namespace LuaPlayer std::string tele = Eluna::CHECKVAL(L, 2); const GameTele* game_tele = sObjectMgr->GetGameTele(tele); - MapEntry const* map = sMapStore.LookupEntry(game_tele->mapId); - if (player->IsInFlight()) { player->GetMotionMaster()->MovementExpired();