summary refs log tree commit diff stats
path: root/src/cratera.cratera.d
diff options
context:
space:
mode:
authorSoniEx2 <endermoneymod@gmail.com>2024-06-05 01:18:21 -0300
committerSoniEx2 <endermoneymod@gmail.com>2024-06-05 01:18:21 -0300
commit1f8140c95ced6b7ce291e16c26c80800fa4f1f9d (patch)
treeb5d5008a3c9fc6b97953f254ef9cbe7b06aa912c /src/cratera.cratera.d
parentdba1285ca98d7a325f05b77b805089b3edd61867 (diff)
Update README, misc cleanups
Diffstat (limited to 'src/cratera.cratera.d')
-rw-r--r--src/cratera.cratera.d/lib.cratera8
1 files changed, 2 insertions, 6 deletions
diff --git a/src/cratera.cratera.d/lib.cratera b/src/cratera.cratera.d/lib.cratera
index 6e1627e..69ca476 100644
--- a/src/cratera.cratera.d/lib.cratera
+++ b/src/cratera.cratera.d/lib.cratera
@@ -39,9 +39,5 @@ function cratera_env.load(chunk, chunkname, mode, env)
 end
 
 -- cratera opts not to support dostring/dofile.
-if lua.dostring then
-    cratera_env.dostring = false
-end
-if lua.dofile then
-    cratera_env.dofile = false
-end
+cratera_env.dostring = false
+cratera_env.dofile = false