Checks and fixes for lua.

This commit is contained in:
Filip Maj 2017-03-20 21:51:43 -04:00
parent 7c25b14640
commit 0a94840419
5 changed files with 33 additions and 10 deletions

View file

@ -253,6 +253,9 @@ namespace FFXIVClassic_Map_Server
{
List<LuaParam> luaParams = new List<LuaParam>();
if (fromScript == null)
return luaParams;
if (fromScript.Type == DataType.Tuple)
{
foreach (DynValue d in fromScript.Tuple)