mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 03:38:01 +00:00
bugfix
This commit is contained in:
@@ -39,7 +39,7 @@ public class ControlPlayerEffect extends SpellAbilityEffect {
|
|||||||
pTarget.obeyNewMaster(activator.getLobbyPlayer().createControllerFor(pTarget));
|
pTarget.obeyNewMaster(activator.getLobbyPlayer().createControllerFor(pTarget));
|
||||||
|
|
||||||
// on following cleanup release control
|
// on following cleanup release control
|
||||||
game.getCleanup().addUntil(pTarget, new Command() {
|
game.getCleanup().addAt(new Command() {
|
||||||
@Override
|
@Override
|
||||||
public void run() {
|
public void run() {
|
||||||
pTarget.releaseControl();
|
pTarget.releaseControl();
|
||||||
|
|||||||
@@ -83,8 +83,10 @@ public enum CDock implements ICDoc {
|
|||||||
|
|
||||||
final Player p = findAffectedPlayer();
|
final Player p = findAffectedPlayer();
|
||||||
if( p == null ) return;
|
if( p == null ) return;
|
||||||
if( p.isMindSlaved() )
|
if( p.isMindSlaved() ) {
|
||||||
GuiDialog.message("You cannot make concede a player you temporary control");
|
GuiDialog.message("You cannot make concede a player you temporarily control");
|
||||||
|
return;
|
||||||
|
}
|
||||||
|
|
||||||
game.getInputQueue().invokeGameAction(new Runnable() {
|
game.getInputQueue().invokeGameAction(new Runnable() {
|
||||||
@Override
|
@Override
|
||||||
|
|||||||
Reference in New Issue
Block a user