Merge pull request #5412 from hitch17/fix-GAME_CHOOSE_ABILITY-event

Fix GAME_CHOOSE_ABILITY event submitted to appendJsonEvent.
This commit is contained in:
Oleg Agafonov 2018-11-04 23:33:27 +04:00 committed by GitHub
commit ee3421c5ef
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -214,7 +214,7 @@ public class CallbackClientImpl implements CallbackClient {
case GAME_CHOOSE_ABILITY: {
GamePanel panel = MageFrame.getGame(callback.getObjectId());
if (panel != null) {
appendJsonEvent("GAME_CHOOSE_PILE", callback.getObjectId(), callback.getData());
appendJsonEvent("GAME_CHOOSE_ABILITY", callback.getObjectId(), callback.getData());
panel.pickAbility((AbilityPickerView) callback.getData());
}
break;