mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-04-23 13:17:45 +00:00
Player.lua - Added fallback for second half of the man0u0 tutorial to get an onNotice kicked, so it can eventually handle it and resume gameplay from a disconnect.
This commit is contained in:
parent
7e5ca6e013
commit
89287844f7
1 changed files with 8 additions and 0 deletions
|
@ -57,6 +57,14 @@ function onBeginLogin(player)
|
||||||
player.positionZ = 133.6561;
|
player.positionZ = 133.6561;
|
||||||
player.rotation = -2.849384;
|
player.rotation = -2.849384;
|
||||||
player:GetQuest(110009):ClearData();
|
player:GetQuest(110009):ClearData();
|
||||||
|
|
||||||
|
elseif (player:HasQuest(110009) == true and player.CurrentArea.ZoneId == 175) then
|
||||||
|
director = player.CurrentArea:CreateDirector("OpeningDirector", false);
|
||||||
|
player:AddDirector(director);
|
||||||
|
director:StartDirector(true);
|
||||||
|
player:SetLoginDirector(director);
|
||||||
|
player:KickEvent(director, "noticeEvent", true);
|
||||||
|
|
||||||
end
|
end
|
||||||
end
|
end
|
||||||
|
|
||||||
|
|
Loading…
Add table
Reference in a new issue