aboutsummaryrefslogtreecommitdiffstatshomepage
path: root/src/sledjchisl
diff options
context:
space:
mode:
Diffstat (limited to 'src/sledjchisl')
-rw-r--r--src/sledjchisl/sledjchisl.c8
1 files changed, 8 insertions, 0 deletions
diff --git a/src/sledjchisl/sledjchisl.c b/src/sledjchisl/sledjchisl.c
index 219bf29..7aa3ecc 100644
--- a/src/sledjchisl/sledjchisl.c
+++ b/src/sledjchisl/sledjchisl.c
@@ -1784,6 +1784,14 @@ simList *getSims()
1784// dumpLuaTree(ourSims->byTab, "byTab", 0); 1784// dumpLuaTree(ourSims->byTab, "byTab", 0);
1785// dumpLuaTree(ourSims->unsorted, "unsorted", 0); 1785// dumpLuaTree(ourSims->unsorted, "unsorted", 0);
1786 1786
1787 // If there's no sims, create the default Sandbox.
1788 if (0 == ourSims->num)
1789 {
1790 shellMeFail("cp %s/example/etc/Sandbox.shini %s/etc/");
1791 simNotFound(NULL, "Sandbox", "unsorted", 0, 0, 0, 0);
1792 ourSims->doIt = TRUE;
1793 }
1794
1787 // Write the sims.lua_NEW file if needed. 1795 // Write the sims.lua_NEW file if needed.
1788 if (ourSims->doIt) 1796 if (ourSims->doIt)
1789 { 1797 {