From f9dbec6edf94ce20d52d38569545674cfb742eae Mon Sep 17 00:00:00 2001 From: nerzhul Date: Thu, 16 Jul 2015 17:37:46 +0200 Subject: Kick players when shutting down server and there is a crash due to a Lua stack exception --- src/environment.h | 1 + 1 file changed, 1 insertion(+) (limited to 'src/environment.h') diff --git a/src/environment.h b/src/environment.h index b35ca4249..794f1971c 100644 --- a/src/environment.h +++ b/src/environment.h @@ -221,6 +221,7 @@ public: float getSendRecommendedInterval() { return m_recommended_send_interval; } + void kickAllPlayers(const std::string &reason); // Save players void saveLoadedPlayers(); void savePlayer(const std::string &playername); -- cgit v1.2.3