Skip to content

Commit

Permalink
Fix external options messing with world options (#37155)
Browse files Browse the repository at this point in the history
  • Loading branch information
ZhilkinSerg authored and kevingranade committed Jan 18, 2020
1 parent 66807fe commit ce6a800
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/worldfactory.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1426,7 +1426,7 @@ void load_external_option( const JsonObject &jo )
options_manager &opts = get_options();
if( !opts.has_option( name ) ) {
auto sinfo = jo.get_string( "info" );
opts.add_external( name, "world_default", stype, sinfo, sinfo );
opts.add_external( name, "external_options", stype, sinfo, sinfo );
}
options_manager::cOpt &opt = opts.get_option( name );
if( stype == "float" ) {
Expand Down

0 comments on commit ce6a800

Please sign in to comment.