diff --git a/Source/Plugins/BuilderModes/VisualModes/BaseVisualThing.cs b/Source/Plugins/BuilderModes/VisualModes/BaseVisualThing.cs index 739925e5..6a97b445 100644 --- a/Source/Plugins/BuilderModes/VisualModes/BaseVisualThing.cs +++ b/Source/Plugins/BuilderModes/VisualModes/BaseVisualThing.cs @@ -91,10 +91,11 @@ namespace CodeImp.DoomBuilder.BuilderModes // Must have a width and height! if((info.Radius < 0.1f) || (info.Height < 0.1f)) return false; + // Find the sector in which the thing resides + Thing.DetermineSector(mode.BlockMap); + if(sprite != null) { - // Find the sector in which the thing resides - Thing.DetermineSector(mode.BlockMap); if(Thing.Sector != null) { // Use sector brightness for color shading