diff --git a/Source/Core/Data/DataManager.cs b/Source/Core/Data/DataManager.cs index 8ed212bf..d7aa048d 100755 --- a/Source/Core/Data/DataManager.cs +++ b/Source/Core/Data/DataManager.cs @@ -2735,10 +2735,17 @@ namespace CodeImp.DoomBuilder.Data } //mxd. This updates mapinfo class only + //sphere: Also reloads all SOC files for level headers internal void ReloadMapInfoPartial() { Dictionary spawnnums, doomednums; LoadMapInfo(out spawnnums, out doomednums); + LoadSOCThings(); + + // Load SRB2 map information from parsed level headers + string mapname = General.Map.Options.LevelName.ToLowerInvariant(); + if (soc.MapHeaders.ContainsKey(mapname)) + mapinfo = soc.MapHeaders[mapname]; } //mxd. This loads (Z)MAPINFO