From b4bb5d098a809be03063a2b4a8c43380c49621b1 Mon Sep 17 00:00:00 2001 From: UnknownShadow200 Date: Mon, 28 Mar 2016 11:54:30 +1100 Subject: [PATCH] Use Server.zombie.Running instead of ZombieModeOn, also fix joining a zombie level (not from transferring from the previous level) did not show a join messsage. --- Commands/World/CmdGoto.cs | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/Commands/World/CmdGoto.cs b/Commands/World/CmdGoto.cs index 5880e6dcd..4e46aa434 100644 --- a/Commands/World/CmdGoto.cs +++ b/Commands/World/CmdGoto.cs @@ -132,7 +132,8 @@ namespace MCGalaxy.Commands { p.Loading = false; CheckGamesJoin(p, oldLevel); - if (!p.hidden && p.level.ShouldSaveLevelFile()) { + bool showJoin = p.level.ShouldSaveLevelFile() || (oldLevel != null && oldLevel.ShouldSaveLevelFile()); + if (!p.hidden && showJoin) { Player.SendChatFrom(p, p.color + "*" + p.DisplayName + Server.DefaultColor + " went to &b" + lvl.name, false); Server.IRC.Say(p.color + p.DisplayName + " %rwent to &8" + lvl.name, false, true); }