Skip to content

Commit

Permalink
Merge branch 'master' into handle
Browse files Browse the repository at this point in the history
  • Loading branch information
Unreal-Dan committed Nov 10, 2024
2 parents 648f931 + e7c4a88 commit 817a88a
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 3 deletions.
6 changes: 3 additions & 3 deletions VortexEngine/VortexCLI/VortexCLI.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -485,7 +485,7 @@ bool VortexCLI::init(int argc, char *argv[])
}

// do the vortex init/setup
Vortex::init<VortexCLICallbacks>();
Vortex::initEx<VortexCLICallbacks>();

// configure the vortex engine as the parameters dictate
Vortex::setInstantTimestep(m_noTimestep);
Expand Down Expand Up @@ -632,10 +632,10 @@ void VortexCLI::cleanup()
}
if (m_jsonMode & JSON_MODE_WRITE_STDOUT) {
// dump the current save in json format
Vortex::dumpJson(nullptr, m_jsonPretty);
Vortex::printJson(m_jsonPretty);
}
if (m_jsonMode & JSON_MODE_WRITE_FILE) {
Vortex::dumpJson(m_jsonOutFile.c_str(), m_jsonPretty);
Vortex::printJsonToFile(m_jsonOutFile.c_str(), m_jsonPretty);
printf("Wrote JSON to file [%s]\n", m_jsonOutFile.c_str());
}
if (m_writeSaveFile.length() > 0) {
Expand Down
1 change: 1 addition & 0 deletions VortexEngine/src/Menus/MenuList/EditorConnection.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -87,6 +87,7 @@ Menu::MenuAction EditorConnection::run()
// operate on the state of the editor connection
switch (m_state) {
case STATE_DISCONNECTED:
default:
// not connected yet so check for connections
if (!SerialComs::isConnected()) {
if (!SerialComs::checkSerial()) {
Expand Down

0 comments on commit 817a88a

Please sign in to comment.