Skip to content

Commit

Permalink
Update mapgen.cpp to allow jp8 fuel in pumps
Browse files Browse the repository at this point in the history
  • Loading branch information
actual-nh authored Jan 17, 2021
1 parent 7468233 commit 6de0eb7
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mapgen.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -1089,7 +1089,7 @@ class jmapgen_gaspump : public jmapgen_piece
fuel = jsi.get_string( "fuel" );

// may want to not force this, if we want to support other fuels for some reason
if( fuel != "gasoline" && fuel != "diesel" ) {
if( fuel != "gasoline" && fuel != "diesel" && fuel != "jp8" ) {
jsi.throw_error( "invalid fuel", "fuel" );
}
}
Expand Down

0 comments on commit 6de0eb7

Please sign in to comment.