summaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2012-03-19 20:44:07 +0200
committerPerttu Ahola <celeron55@gmail.com>2012-03-19 20:44:07 +0200
commit1f56d71f190c67325bdc413dfbc6c8e4b8284d98 (patch)
tree04c5ad77c48d9d38899ae9e8b5509b1c94ab30ac /src/server.cpp
parent1ff20da5b689d1a5e5a89f7ca086d88bc47f837d (diff)
downloadminetest-1f56d71f190c67325bdc413dfbc6c8e4b8284d98.tar.gz
minetest-1f56d71f190c67325bdc413dfbc6c8e4b8284d98.tar.bz2
minetest-1f56d71f190c67325bdc413dfbc6c8e4b8284d98.zip
Rework directory structure
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp6
1 files changed, 1 insertions, 5 deletions
diff --git a/src/server.cpp b/src/server.cpp
index df9a4d390..1060426b3 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -877,10 +877,6 @@ Server::Server(
if(!gamespec.isValid())
throw ServerError("Supplied invalid gamespec");
- // Figure out some paths
- // share/server
- m_path_share = porting::path_share + DIR_DELIM + "server";
-
infostream<<"Server created for gameid \""<<m_gamespec.id<<"\"";
if(m_simple_singleplayer_mode)
infostream<<" in simple singleplayer mode"<<std::endl;
@@ -894,7 +890,7 @@ Server::Server(
infostream<<"- addons: "<<(*i)<<std::endl;
// Path to builtin.lua
- std::string builtinpath = m_path_share + DIR_DELIM + "builtin.lua";
+ std::string builtinpath = porting::path_share + DIR_DELIM + "builtin.lua";
// Add default global mod search path
m_modspaths.push_front(m_gamespec.path + DIR_DELIM "mods");