mirror of
https://github.com/magefree/mage.git
synced 2025-12-27 22:12:03 -08:00
Turn under control reworked:
- game: fixed game freezes when computer try to take control over another computer or human (added game logs, related to #12878); - cheats: improved take and give control commands, now you can give control under yourself to another player; - cheats: improved take and give control commands, now you can return control to computer in the same priority; - cheats: deleted useless and unused command to activate opponent's ability;
This commit is contained in:
parent
a5c354f960
commit
1f1d1088a1
6 changed files with 50 additions and 73 deletions
|
|
@ -3080,8 +3080,8 @@ public class TestPlayer implements Player {
|
|||
}
|
||||
|
||||
@Override
|
||||
public void controlPlayersTurn(Game game, UUID playerUnderControlId, String info) {
|
||||
computerPlayer.controlPlayersTurn(game, playerUnderControlId, info);
|
||||
public boolean controlPlayersTurn(Game game, UUID playerUnderControlId, String info) {
|
||||
return computerPlayer.controlPlayersTurn(game, playerUnderControlId, info);
|
||||
}
|
||||
|
||||
@Override
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue