Fixing visibility.
This commit is contained in:
parent
afa45c47ca
commit
6c5e3d7509
@ -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);
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user