Skip to content

Commit

Permalink
flip condition to correct case
Browse files Browse the repository at this point in the history
  • Loading branch information
spacek531 committed Aug 5, 2024
1 parent 58603d6 commit 223ede1
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/openrct2/drawing/ImageImporter.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -394,7 +394,7 @@ namespace OpenRCT2::Drawing
auto flags = EnumValue(ImportFlags::None);

auto raw = Json::GetString(input["format"]) == "raw";
if (raw)
if (!raw)
flags |= EnumValue(ImportFlags::RLE);

flags |= Json::GetFlags<uint8_t>(
Expand Down

0 comments on commit 223ede1

Please sign in to comment.