Issue: 474
modified player status to recognize that test suite has been activated. This is to allow deactivation of "phase skip automation" game setting during test suite. TODO: fix "Phase Skip Automation" such that if turned on the test suite does not break. This fix should be considered temporary
This commit is contained in:
@@ -289,7 +289,8 @@ void GameObserver::Update(float dt){
|
||||
oldGamePhase = currentGamePhase;
|
||||
|
||||
//Auto skip Phases
|
||||
int skipLevel = options[Options::ASPHASES].number;
|
||||
int skipLevel = (player->playMode == Player::MODE_TEST_SUITE) ? Constants::ASKIP_NONE :
|
||||
options[Options::ASPHASES].number;
|
||||
int nrCreatures = currentPlayer->game->inPlay->countByType("Creature");
|
||||
|
||||
if (skipLevel == Constants::ASKIP_SAFE || skipLevel == Constants::ASKIP_FULL) {
|
||||
|
||||
Reference in New Issue
Block a user