Exemple #1
0
        private static bool SafeMoveNext(this LuaCoroutine enumerator)
        {
            try
            {
                return(enumerator.MoveNext());
            }
            catch (Exception e)
            {
                Logger.Log(LogLevel.Error, "Lua Cutscenes", $"Failed to resume coroutine");
                Logger.LogDetailed(e);

                return(false);
            }
        }