aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl
diff options
context:
space:
mode:
Diffstat (limited to 'src/sledjchisl')
-rw-r--r--src/sledjchisl/sledjchisl.c4
1 files changed, 3 insertions, 1 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index b25b993..d287007 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1680,7 +1680,9 @@ simList *getSims()
1680 ourSims->simsLua = Lua2tree(file, "sims"); 1680 ourSims->simsLua = Lua2tree(file, "sims");
1681 if (NULL == ourSims->simsLua) 1681 if (NULL == ourSims->simsLua)
1682 { 1682 {
1683 ourSims->simsLua = qtreetbl(0); 1683 free(file);
1684 file = xmprintf("%s/current/example/etc/sims.lua", scRoot);
1685 ourSims->simsLua = Lua2tree(file, "sims");
1684 ourSims->doIt = TRUE; 1686 ourSims->doIt = TRUE;
1685 } 1687 }
1686 1688