From 6c5e3d750910c84720266fea57e26e75b7bcd887 Mon Sep 17 00:00:00 2001 From: Sarah Date: Sat, 19 Dec 2015 00:48:42 +0100 Subject: [PATCH] Fixing visibility. --- .../game/arcade/gametutorial/GameTutorial.java | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/GameTutorial.java b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/GameTutorial.java index 0c46114c7..802f41a83 100644 --- a/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/GameTutorial.java +++ b/Plugins/Nautilus.Game.Arcade/src/nautilus/game/arcade/gametutorial/GameTutorial.java @@ -131,13 +131,13 @@ public abstract class GameTutorial public void run() { // Player visibility/fly mode - for(Player player : Manager.GetGame().GetPlayers(true)) + for(Player other : Manager.GetGame().GetPlayers(false)) { - for(Player other : Manager.GetGame().GetPlayers(true)) - { - player.showPlayer(other); - } - } + if(player == other) + continue; + + other.showPlayer(player); + } player.setAllowFlight(false); player.setFlying(false); }