Player under control - fixed that it doesn't hide opponent's hand after control lost (part of #13353);

This commit is contained in:
Oleg Agafonov 2025-06-01 10:21:47 +04:00
parent 71b0613355
commit 8d7bd60061
9 changed files with 114 additions and 55 deletions

View file

@ -1434,7 +1434,7 @@ public final class CardUtil {
* @param playerUnderControl
*/
public static void takeControlUnderPlayerEnd(Game game, Ability source, Player controller, Player playerUnderControl) {
playerUnderControl.setGameUnderYourControl(true, false);
playerUnderControl.setGameUnderYourControl(game, true, false);
if (!playerUnderControl.getTurnControlledBy().equals(controller.getId())) {
game.informPlayers(controller.getLogName() + " return control of the turn to " + playerUnderControl.getLogName() + CardUtil.getSourceLogName(game, source));
controller.getPlayersUnderYourControl().remove(playerUnderControl.getId());