Skip to content

Commit

Permalink
Fix USE_LANG not found when using --check-mods dda in SDL build (#62309)
Browse files Browse the repository at this point in the history
  • Loading branch information
alef authored Nov 23, 2022
1 parent 5aabfde commit 1c67d46
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions src/main.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -735,6 +735,9 @@ int main( int argc, const char *argv[] )
DebugLog( D_ERROR, DC_ALL ) << "Error while initializing the interface: " << err.what() << "\n";
return 1;
}
} else if( cli.check_mods ) {
get_options().init();
get_options().load();
}

set_language();
Expand Down

0 comments on commit 1c67d46

Please sign in to comment.