aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/LuaSL/src/LuaSL_main.c
diff options
context:
space:
mode:
Diffstat (limited to 'LuaSL/src/LuaSL_main.c')
-rw-r--r--LuaSL/src/LuaSL_main.c4
1 files changed, 1 insertions, 3 deletions
diff --git a/LuaSL/src/LuaSL_main.c b/LuaSL/src/LuaSL_main.c
index 3ec8f9b..f14a8d0 100644
--- a/LuaSL/src/LuaSL_main.c
+++ b/LuaSL/src/LuaSL_main.c
@@ -75,9 +75,7 @@ void dirList_cb(const char *name, const char *path, void *data)
75 75
76 if (ext) 76 if (ext)
77 { 77 {
78#ifdef LUASL_DEBUG 78 if ((!LUASL_DEBUG) || (0 == scriptCount))
79 if (0 == scriptCount)
80#endif
81 if (0 == strcmp(ext, ".lsl")) 79 if (0 == strcmp(ext, ".lsl"))
82 { 80 {
83 scriptCount++; 81 scriptCount++;