Fix to SRB2Type

This commit is contained in:
spherallic 2023-01-04 13:09:34 +01:00
parent a6d99339ce
commit 1dbc431aeb

View file

@ -80,7 +80,7 @@ namespace CodeImp.DoomBuilder.BuilderModes
// Collect Things...
foreach(Thing t in General.Map.Map.Things)
{
ThingTypeInfo info = General.Map.Data.GetThingInfoEx(t.Type);
ThingTypeInfo info = General.Map.Data.GetThingInfoEx(t.SRB2Type);
if(info == null) continue;
switch(info.ClassName.ToLowerInvariant())
{