fixed being able to team with self in UHC
fixed eventgame admin toggle
This commit is contained in:
parent
c34cac42ee
commit
bd58c06017
@ -824,7 +824,7 @@ public class EventGame extends SoloGame
|
||||
return;
|
||||
}
|
||||
|
||||
if (Manager.GetGameHostManager().isAdmin(target, false))
|
||||
if (!Manager.GetGameHostManager().isAdmin(target, false))
|
||||
Manager.GetGameHostManager().giveAdmin(target);
|
||||
else
|
||||
Manager.GetGameHostManager().removeAdmin(target.getName());
|
||||
|
@ -1710,6 +1710,9 @@ public class UHC extends TeamGame
|
||||
return;
|
||||
}
|
||||
|
||||
if (event.getPlayer().equals(target))
|
||||
return;
|
||||
|
||||
selectTeamMate(event.getPlayer(), target);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user