From 3de8889688a61361e8df617859d90912b41b5369 Mon Sep 17 00:00:00 2001 From: Tyler Watson Date: Fri, 18 Sep 2015 22:05:11 +1000 Subject: [PATCH] Reverted the silly on leave hook change --- TShockAPI/TShock.cs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/TShockAPI/TShock.cs b/TShockAPI/TShock.cs index 71d7431b..4b905b34 100755 --- a/TShockAPI/TShock.cs +++ b/TShockAPI/TShock.cs @@ -1282,7 +1282,7 @@ namespace TShockAPI } // The last player will leave after this hook is executed. - if (Utils.ActivePlayers() == 0) + if (Utils.ActivePlayers() == 1) { if (Config.SaveWorldOnLastPlayerExit) SaveManager.Instance.SaveWorld();