Skip to content

Commit

Permalink
Fix if you join ZS, enter /ref mode, then go to another map, other pl…
Browse files Browse the repository at this point in the history
…ayers can't see your in-game entity (Thanks Scav)
  • Loading branch information
UnknownShadow200 committed Jan 31, 2021
1 parent 74b90ab commit 65b8998
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion MCGalaxy/Games/ZombieSurvival/ZSGame.Plugin.cs
Expand Up @@ -70,7 +70,7 @@ public sealed partial class ZSGame : RoundsGame {
if (!canSee || p.Game.Referee || target == null) return;

ZSData data = TryGet(target);
if (data == null) return;
if (data == null || target.level != Map) return;
canSee = !(target.Game.Referee || data.Invisible);
}

Expand Down

0 comments on commit 65b8998

Please sign in to comment.