mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-06-09 14:04:41 +02:00
Added way to instantiate a GL Director. Aetheryte parent now does it.
This commit is contained in:
parent
8ccd3439c1
commit
25cd75d40c
2 changed files with 12 additions and 1 deletions
|
@ -120,7 +120,7 @@ function doLevequestInit(player, aetheryte)
|
|||
if (difficulty == nil) then goto SELECT_DETAIL; end
|
||||
confirmResult = callClientFunction(player, "eventGLStart", glId, difficulty, 1, guildleveData.favorCount, 20, 0, 0, 0, 0);
|
||||
if (confirmResult == nil) then goto SELECT_DIFFICULTY; else
|
||||
director = player:GetZone():CreateDirector("Guildleve/PrivateGLBattleDetectNormal");
|
||||
director = player:GetZone():CreateGuildleveDirector("Guildleve/PrivateGLBattleDetectNormal", glId);
|
||||
player:AddDirector(director);
|
||||
director:StartDirector(true, glId)
|
||||
end
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue