summaryrefslogtreecommitdiff
path: root/src/script
diff options
context:
space:
mode:
authorLoic Blot <loic.blot@unix-experience.fr>2017-01-08 11:01:35 +0100
committerNer'zhul <nerzhul@users.noreply.github.com>2017-01-08 12:16:06 +0100
commit98e36d7d681abc508aa81b6f9df0c8c87c7cfe17 (patch)
tree03d06979c7567045e47eaad360193846f8d1f665 /src/script
parenteb2c19bbedecb5f42c946b0c14466abc0b109825 (diff)
downloadminetest-98e36d7d681abc508aa81b6f9df0c8c87c7cfe17.tar.gz
minetest-98e36d7d681abc508aa81b6f9df0c8c87c7cfe17.tar.bz2
minetest-98e36d7d681abc508aa81b6f9df0c8c87c7cfe17.zip
Move ServerEnvironment to dedicated cpp/header files
* also cleanup some unneeded inclusions
Diffstat (limited to 'src/script')
-rw-r--r--src/script/lua_api/l_env.h2
-rw-r--r--src/script/lua_api/l_nodemeta.cpp2
-rw-r--r--src/script/lua_api/l_nodetimer.cpp2
3 files changed, 3 insertions, 3 deletions
diff --git a/src/script/lua_api/l_env.h b/src/script/lua_api/l_env.h
index 89dd7978f..21b235f84 100644
--- a/src/script/lua_api/l_env.h
+++ b/src/script/lua_api/l_env.h
@@ -21,7 +21,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#define L_ENV_H_
#include "lua_api/l_base.h"
-#include "environment.h"
+#include "serverenvironment.h"
class ModApiEnvMod : public ModApiBase {
private:
diff --git a/src/script/lua_api/l_nodemeta.cpp b/src/script/lua_api/l_nodemeta.cpp
index c8bc7d558..3cdd3cbfe 100644
--- a/src/script/lua_api/l_nodemeta.cpp
+++ b/src/script/lua_api/l_nodemeta.cpp
@@ -22,7 +22,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "lua_api/l_inventory.h"
#include "common/c_converter.h"
#include "common/c_content.h"
-#include "environment.h"
+#include "serverenvironment.h"
#include "map.h"
#include "gamedef.h"
#include "nodemetadata.h"
diff --git a/src/script/lua_api/l_nodetimer.cpp b/src/script/lua_api/l_nodetimer.cpp
index 3242d6ea5..ed11cc58e 100644
--- a/src/script/lua_api/l_nodetimer.cpp
+++ b/src/script/lua_api/l_nodetimer.cpp
@@ -19,7 +19,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
#include "lua_api/l_nodetimer.h"
#include "lua_api/l_internal.h"
-#include "environment.h"
+#include "serverenvironment.h"
#include "map.h"