From ed6dcc48197b566d2588d4cd17c7c3feb207685b Mon Sep 17 00:00:00 2001 From: whiteshark0 Date: Sun, 17 May 2009 18:41:07 +0000 Subject: fix crash in last revision when an error is raised during plugin_init git-svn-id: svn://svn.code.sf.net/p/ultrastardx/svn/branches/experimental@1750 b956fd51-792f-4845-bead-9b4dfca2ff2c --- Lua/src/lua/ULuaCore.pas | 1 - 1 file changed, 1 deletion(-) diff --git a/Lua/src/lua/ULuaCore.pas b/Lua/src/lua/ULuaCore.pas index 87c2c88f..95f5d633 100644 --- a/Lua/src/lua/ULuaCore.pas +++ b/Lua/src/lua/ULuaCore.pas @@ -729,7 +729,6 @@ begin else begin sStatus := psErrorInInit; - Log.LogError(String(lua_toString(State, 1)), 'lua'); Log.LogError('error in plugin_init: ' + Filename, 'lua'); Unload; end; -- cgit v1.2.3