Skip to content

Commit

Permalink
Merge pull request #1 from actual-nh/patch-9
Browse files Browse the repository at this point in the history
Update mapgen.cpp to allow jp8 fuel in pumps
  • Loading branch information
hexagonrecursion authored Jan 26, 2021
2 parents 7468233 + 6de0eb7 commit 919192c
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 919192c

Please sign in to comment.