From 54f2c29254e43fe40df654948fcffd187b61f4b4 Mon Sep 17 00:00:00 2001 From: Sam Date: Tue, 21 Aug 2018 16:15:02 +0100 Subject: [PATCH] Allow rejoining in MPS --- .../game/arcade/game/modules/rejoin/RejoinModule.java | 8 ++++++-- 1 file changed, 6 insertions(+), 2 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/modules/rejoin/RejoinModule.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/modules/rejoin/RejoinModule.java index 94350b659..f938ae5e4 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/modules/rejoin/RejoinModule.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/game/modules/rejoin/RejoinModule.java @@ -127,7 +127,11 @@ public class RejoinModule extends Module team.RemovePlayer(player); - _manager.saveRejoinData(player, getGame().GetType().getGameId()); + // For MPS, allow them to rejoin but don't bother sending them the message + if (!getGame().getArcadeManager().GetGameHostManager().isPrivateServer()) + { + _manager.saveRejoinData(player, getGame().GetType().getGameId()); + } } @EventHandler(priority = EventPriority.MONITOR) @@ -200,7 +204,7 @@ public class RejoinModule extends Module private boolean isEnabled() { - return !getGame().getArcadeManager().GetGameHostManager().isPrivateServer() && getGame().InProgress() && !getGame().QuitOut; + return getGame().InProgress() && !getGame().QuitOut; } public class PlayerGameInfo