mirror of
https://github.com/Card-Forge/forge.git
synced 2025-11-16 02:38:02 +00:00
prevent crash on Android 11 and below
Completablefuture -> completeOnTimeout
This commit is contained in:
@@ -48,6 +48,7 @@ public class SimulationTest {
|
||||
game.setAge(GameStage.Play);
|
||||
game.EXPERIMENTAL_RESTORE_SNAPSHOT = false;
|
||||
game.AI_TIMEOUT = FModel.getPreferences().getPrefInt(FPref.MATCH_AI_TIMEOUT);
|
||||
game.AI_CAN_USE_TIMEOUT = true; //Only Android is restricted according to API Level
|
||||
|
||||
return game;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user