mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-19 12:18:00 +00:00
- Fix for inputs that occur when spells are resolving. Hopefully this resolves any lingering issues that are similar.
This commit is contained in:
@@ -16,7 +16,7 @@ public class InputControl extends MyObservable implements java.io.Serializable {
|
|||||||
// todo: needs a bit more work to allow mana abilities to put Inputs "on hold" while they are paid and then reinstuted
|
// todo: needs a bit more work to allow mana abilities to put Inputs "on hold" while they are paid and then reinstuted
|
||||||
|
|
||||||
public void setInput(final Input in) {
|
public void setInput(final Input in) {
|
||||||
if(!(input == null || input instanceof Input_PassPriority))
|
if(bResolving || !(input == null || input instanceof Input_PassPriority))
|
||||||
inputStack.add(in);
|
inputStack.add(in);
|
||||||
else
|
else
|
||||||
input = in;
|
input = in;
|
||||||
|
|||||||
Reference in New Issue
Block a user