Merge remote-tracking branch 'udb/master'

This commit is contained in:
spherallic 2023-09-11 01:55:11 +02:00
commit 0c2532e160

View file

@ -278,6 +278,7 @@ namespace CodeImp.DoomBuilder.Map
if (resinfo.Contains("location") && (resinfo["location"] is string)) res.location = (string)resinfo["location"]; if (resinfo.Contains("location") && (resinfo["location"] is string)) res.location = (string)resinfo["location"];
if (resinfo.Contains("textures") && (resinfo["textures"] is bool)) res.option1 = (bool)resinfo["textures"]; if (resinfo.Contains("textures") && (resinfo["textures"] is bool)) res.option1 = (bool)resinfo["textures"];
if (resinfo.Contains("flats") && (resinfo["flats"] is bool)) res.option2 = (bool)resinfo["flats"]; if (resinfo.Contains("flats") && (resinfo["flats"] is bool)) res.option2 = (bool)resinfo["flats"];
if (resinfo.Contains("notfortesting") && (resinfo["notfortesting"] is int)) res.notfortesting = Convert.ToBoolean(resinfo["notfortesting"]);
// Add resource // Add resource
AddResource(res); AddResource(res);