mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-18 11:48:02 +00:00
inputs won't hang after devMode tap/untap
This commit is contained in:
@@ -308,6 +308,7 @@ public final class GuiDisplayUtil {
|
|||||||
if( !inp.hasCancelled() )
|
if( !inp.hasCancelled() )
|
||||||
for(Card c : inp.getSelected())
|
for(Card c : inp.getSelected())
|
||||||
c.tap();
|
c.tap();
|
||||||
|
game.getInputQueue().updateObservers();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
@@ -332,6 +333,7 @@ public final class GuiDisplayUtil {
|
|||||||
if( !inp.hasCancelled() )
|
if( !inp.hasCancelled() )
|
||||||
for(Card c : inp.getSelected())
|
for(Card c : inp.getSelected())
|
||||||
c.untap();
|
c.untap();
|
||||||
|
game.getInputQueue().updateObservers();
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
}
|
}
|
||||||
|
|||||||
Reference in New Issue
Block a user