aboutsummaryrefslogtreecommitdiffstats
path: root/Lua
diff options
context:
space:
mode:
authorwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-17 18:41:07 +0000
committerwhiteshark0 <whiteshark0@b956fd51-792f-4845-bead-9b4dfca2ff2c>2009-05-17 18:41:07 +0000
commited6dcc48197b566d2588d4cd17c7c3feb207685b (patch)
treef7ab9a3bd68a9fa02477639e2282e20cf2597973 /Lua
parent988998d4136562c171a94b82982277966c38ea41 (diff)
downloadusdx-ed6dcc48197b566d2588d4cd17c7c3feb207685b.tar.gz
usdx-ed6dcc48197b566d2588d4cd17c7c3feb207685b.tar.xz
usdx-ed6dcc48197b566d2588d4cd17c7c3feb207685b.zip
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
Diffstat (limited to 'Lua')
-rw-r--r--Lua/src/lua/ULuaCore.pas1
1 files changed, 0 insertions, 1 deletions
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;