aboutsummaryrefslogtreecommitdiff
path: root/src/server.cpp
diff options
context:
space:
mode:
authorPerttu Ahola <celeron55@gmail.com>2011-02-10 02:13:03 +0200
committerPerttu Ahola <celeron55@gmail.com>2011-02-10 02:13:03 +0200
commit1704badc306fc8c7c6609aff9f809aee3ac00d3a (patch)
tree76e1ba37bb0ec12bb744a6015f56613ba088e148 /src/server.cpp
parent949383a2f7c0707667f76615fc748ff4879e2cc1 (diff)
downloadminetest-1704badc306fc8c7c6609aff9f809aee3ac00d3a.tar.gz
minetest-1704badc306fc8c7c6609aff9f809aee3ac00d3a.tar.bz2
minetest-1704badc306fc8c7c6609aff9f809aee3ac00d3a.zip
work-in-progress texture atlas optimization
Diffstat (limited to 'src/server.cpp')
-rw-r--r--src/server.cpp2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/server.cpp b/src/server.cpp
index 59d9acee4..f2078b9d0 100644
--- a/src/server.cpp
+++ b/src/server.cpp
@@ -1642,6 +1642,8 @@ void Server::ProcessData(u8 *data, u32 datasize, u16 peer_id)
os<<name<<L",";
}
os<<L"}";
+ if(((ServerMap*)(&m_env.getMap()))->isSavingEnabled() == false)
+ os<<" WARNING: Map saving is disabled."<<std::endl;
// Send message
SendChatMessage(peer_id, os.str());
}