mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 18:58:00 +00:00
Pass priority will not lock input - bottomless vault no longer deadlocks
This commit is contained in:
@@ -18,7 +18,8 @@ public abstract class InputNonSyncBase extends InputBase {
|
||||
}
|
||||
};
|
||||
if( FThreads.isEDT() )
|
||||
player.getGame().getInputQueue().LockAndInvokeGameAction(pass);
|
||||
FThreads.invokeInNewThread(pass);
|
||||
// player.getGame().getInputQueue().LockAndInvokeGameAction(pass);
|
||||
else
|
||||
pass.run();
|
||||
}
|
||||
|
||||
@@ -53,6 +53,8 @@ public class InputProxy implements Observer {
|
||||
|
||||
@Override
|
||||
public final synchronized void update(final Observable observable, final Object obj) {
|
||||
//synchronized(this) {} // want to update all changes to memory
|
||||
|
||||
final PhaseHandler ph = game.getPhaseHandler();
|
||||
|
||||
if(INPUT_DEBUG)
|
||||
|
||||
Reference in New Issue
Block a user