mirror of
https://bitbucket.org/Ioncannon/project-meteor-server.git
synced 2025-08-26 10:53:29 +02:00
opening quest stuff
This commit is contained in:
parent
9fc99faa5c
commit
92de857cda
49 changed files with 873 additions and 88 deletions
|
@ -103,7 +103,7 @@ namespace FFXIVClassic_Map_Server.actors.director
|
|||
|
||||
List<LuaParam> lparams = CallLuaScript("init", args2);
|
||||
|
||||
if (lparams.Count >= 1 && lparams[0].value is string)
|
||||
if (lparams != null && lparams.Count >= 1 && lparams[0].value is string)
|
||||
{
|
||||
classPath = (string)lparams[0].value;
|
||||
className = classPath.Substring(classPath.LastIndexOf("/") + 1);
|
||||
|
@ -270,6 +270,7 @@ namespace FFXIVClassic_Map_Server.actors.director
|
|||
{
|
||||
if (directorScript != null)
|
||||
{
|
||||
directorScript = LuaEngine.LoadScript(String.Format(LuaEngine.FILEPATH_DIRECTORS, directorScriptPath));
|
||||
if (!directorScript.Globals.Get(funcName).IsNil())
|
||||
{
|
||||
DynValue result = directorScript.Call(directorScript.Globals[funcName], args);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue