RobustToolbox icon indicating copy to clipboard operation
RobustToolbox copied to clipboard

MapLoader needs better debugging where someone tries to load a map as a bp

Open metalgearsloth opened this issue 3 years ago • 1 comments
trafficstars

Maps get serialized now so people need to be specific on which is used.

metalgearsloth avatar Aug 06 '22 04:08 metalgearsloth

#3181 sorta fixes this in that it adds a better error, but the command will currently still start the process of loading the map as a grid, when it should really just reject the file in the first place.

I guess a better fix would be to specify whether this is a singular grid or a map in the meta-data? And I guess some #if DEBUG code that checks to make sure that grid files really don't contain any map entities (and that map files contain only one map entity).

ElectroJr avatar Aug 24 '22 05:08 ElectroJr