diff --git a/maps4fs/generator/map.py b/maps4fs/generator/map.py index 99ac100d..284cceb7 100644 --- a/maps4fs/generator/map.py +++ b/maps4fs/generator/map.py @@ -104,6 +104,11 @@ def __init__( # pylint: disable=R0917, R0915 self.logger.info("Background settings: %s", background_settings) self.grle_settings = grle_settings self.logger.info("GRLE settings: %s", grle_settings) + if not isinstance(self.grle_settings.base_grass, str): + self.grle_settings.base_grass = self.grle_settings.base_grass[0] + self.logger.info( + "Updated value of the base grass to %s.", self.grle_settings.base_grass + ) self.i3d_settings = i3d_settings self.logger.info("I3D settings: %s", i3d_settings) self.texture_settings = texture_settings