summaryrefslogtreecommitdiff
path: root/src/cat/LegacyLuaAPI.cpp
diff options
context:
space:
mode:
authorSimon Robertshaw <simon@hardwired.org.uk>2013-05-11 10:52:35 (GMT)
committer Simon Robertshaw <simon@hardwired.org.uk>2013-05-11 10:52:35 (GMT)
commitc2cdec9e621a2af25a256a484fdf68adc46ea96f (patch)
tree69aee231e52e8ef85842b6b695c10f6f04aa4b25 /src/cat/LegacyLuaAPI.cpp
parentd1c8978a34906c1adb6bdc3fbae7f12c06aa8324 (diff)
downloadpowder-c2cdec9e621a2af25a256a484fdf68adc46ea96f.zip
powder-c2cdec9e621a2af25a256a484fdf68adc46ea96f.tar.gz
Togglable lua scripting
Diffstat (limited to 'src/cat/LegacyLuaAPI.cpp')
-rw-r--r--src/cat/LegacyLuaAPI.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/cat/LegacyLuaAPI.cpp b/src/cat/LegacyLuaAPI.cpp
index 9c73936..82ae6a0 100644
--- a/src/cat/LegacyLuaAPI.cpp
+++ b/src/cat/LegacyLuaAPI.cpp
@@ -1,3 +1,4 @@
+#ifdef LUACONSOLE
#include <string>
#include <iomanip>
#include <vector>
@@ -1983,4 +1984,4 @@ int luatpt_screenshot(lua_State* l)
Client::Ref().WriteFile(data, filename.str());
return 0;
}
-
+#endif \ No newline at end of file