I found an issue when we have a <laser_retro> tag in one of the links that are ignored by RGL. The plugin would just crash with std::out_of_range since the entity is not in entitiesInRgl. The plugin should tolerate this laser retro value even if it's for an ignored entity.
To allow this case we just return in case the entity is ignored, also I added a more informative error message for the case we reach this point and the entity is not loaded yet.
I found an issue when we have a
<laser_retro>
tag in one of the links that are ignored by RGL. The plugin would just crash withstd::out_of_range
since the entity is not inentitiesInRgl
. The plugin should tolerate this laser retro value even if it's for an ignored entity.To allow this case we just return in case the entity is ignored, also I added a more informative error message for the case we reach this point and the entity is not loaded yet.