Skip to content

Commit

Permalink
Merge pull request #48 from oblivioncth/dev
Browse files Browse the repository at this point in the history
Merge to master for v0.9.3.1
  • Loading branch information
oblivioncth authored Feb 14, 2023
2 parents 5a3d1af + 27d950d commit d56ea15
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 2 deletions.
2 changes: 1 addition & 1 deletion CMakeLists.txt
Original file line number Diff line number Diff line change
Expand Up @@ -6,7 +6,7 @@ cmake_minimum_required(VERSION 3.21.1)
# Project
# NOTE: DON'T USE TRAILING ZEROS IN VERSIONS
project(CLIFp
VERSION 0.9.3
VERSION 0.9.3.1
LANGUAGES CXX
DESCRIPTION "Command-line Interface for Flashpoint"
)
Expand Down
5 changes: 4 additions & 1 deletion src/command/c-play.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -175,8 +175,11 @@ ErrorCode CPlay::enqueueAutomaticTasks(bool& wasStandalone, QUuid targetId)
return ErrorCode::SQL_ERROR;
}

// Advance result to only record
parentResult.result.next();

// Determine platform (don't bother building entire game object since only one value is needed)
QString platform = parentResult.size != 1 ? "" : parentResult.result.value(Fp::Db::Table_Game::COL_PLATFORM).toString();
QString platform = parentResult.result.value(Fp::Db::Table_Game::COL_PLATFORM).toString();

// Enqueue
enqueueError = enqueueAdditionalApp(addApp, platform, Task::Stage::Primary);
Expand Down

0 comments on commit d56ea15

Please sign in to comment.