Skip to content

Commit

Permalink
🐛 Invalid flare types now fall back to 'f' (head/tail light) again.
Browse files Browse the repository at this point in the history
  • Loading branch information
ohlidalp authored and Petr Ohlídal committed Apr 15, 2021
1 parent 5586473 commit 93cee4d
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion source/main/resources/rig_def_fileformat/RigDef_Parser.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -3543,7 +3543,7 @@ FlareType Parser::GetArgFlareType(int index)
default:
this->AddMessage(Message::TYPE_WARNING,
fmt::format("Invalid flare type '{}', falling back to type 'f' (front light)...", in));
return FlareType::NONE;
return FlareType::HEADLIGHT;
}
}

Expand Down

0 comments on commit 93cee4d

Please # to comment.