Skip to content
Snippets Groups Projects
Commit b8618f18 authored by sphere's avatar sphere
Browse files

Change how selecting sector effects works (no repeated addition)

parent eb8b86ac
No related branches found
No related tags found
No related merge requests found
...@@ -207,7 +207,7 @@ namespace CodeImp.DoomBuilder.Windows ...@@ -207,7 +207,7 @@ namespace CodeImp.DoomBuilder.Windows
} }
//mxd. Add generalized effects? (Don't add when "Any effect" is selected) //mxd. Add generalized effects? (Don't add when "Any effect" is selected)
if(selectedeffect != -1 && General.Map.Config.GeneralizedEffects) if(selectedeffect != -1 && General.Map.Config.GeneralizedEffects && tabs.SelectedTab == tabgeneralized)
{ {
// Go for all options // Go for all options
for(int i = 0; i < MAX_OPTIONS; i++) for(int i = 0; i < MAX_OPTIONS; i++)
......
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please register or to comment