From a9c6394c4332c6cc023fca1a31e29383a7d68e72 Mon Sep 17 00:00:00 2001 From: David Walter Seikel Date: Wed, 14 May 2014 16:19:00 +1000 Subject: Shut up some excess debugs. --- lib/LSL.lua | 4 ++-- src/LuaSL/LuaSL_main.c | 6 +++--- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/lib/LSL.lua b/lib/LSL.lua index 092c3d9..948f22d 100644 --- a/lib/LSL.lua +++ b/lib/LSL.lua @@ -743,7 +743,7 @@ function LSL.stateChange(x) if nil ~= currentState.state_exit then currentState.state_exit(); end - msg("LSL.Lua: State change on " .. scriptName) +-- msg("LSL.Lua: State change on " .. scriptName) currentState = x; --[[ Never return to the current states event handler. In theory. lol Notably, it's not actually legal to do a state change from a function, only from handlers. @@ -774,7 +774,7 @@ function LSL.mainLoop(sid, name, x) LSL.stateChange(x); waitAndProcess(false) - msg("LSL.Lua: Script quitting " .. scriptName) +-- msg("LSL.Lua: Script quitting " .. scriptName) end function waitAndProcess(returnWanted) diff --git a/src/LuaSL/LuaSL_main.c b/src/LuaSL/LuaSL_main.c index 017c742..4d589a1 100644 --- a/src/LuaSL/LuaSL_main.c +++ b/src/LuaSL/LuaSL_main.c @@ -13,7 +13,7 @@ static Eina_Bool _sleep_timer_cb(void *data) script *script = data; gameGlobals *ourGlobals = script->game; - PD("Waking up %s", script->name); +// PD("Waking up %s", script->name); sendToChannel(ourGlobals, script->SID, "return 0.0"); return ECORE_CALLBACK_CANCEL; } @@ -49,7 +49,7 @@ static void resetScript(script *victim) script *me; char buf[PATH_MAX]; - PD("RESETTING %s", victim->name); +// PD("RESETTING %s", victim->name); sendToChannel(ourGlobals, victim->SID, "quit()"); eina_hash_del(ourGlobals->scripts, victim->SID, NULL); @@ -111,7 +111,7 @@ void scriptSendBack(void * data) sendToChannel(ourGlobals, them->SID, "start()"); else sendToChannel(ourGlobals, them->SID, "stop()"); - PD("Stopped %s", them->name); +// PD("Stopped %s", them->name); } else PE("Missing script state in llSetScriptState(%s, )", them->name); -- cgit v1.1