fix to prevent selecting units and resources ( like trees) at once
This commit is contained in:
parent
7c59a00416
commit
6880b06152
|
@ -5314,7 +5314,7 @@ void Renderer::renderSelectionEffects() {
|
||||||
}
|
}
|
||||||
|
|
||||||
}
|
}
|
||||||
if(selectedResourceObject!=NULL)
|
if(selectedResourceObject!=NULL && selection->getCount()<1)
|
||||||
{
|
{
|
||||||
Resource *r= selectedResourceObject->getResource();
|
Resource *r= selectedResourceObject->getResource();
|
||||||
int defaultValue= r->getType()->getDefResPerPatch();
|
int defaultValue= r->getType()->getDefResPerPatch();
|
||||||
|
|
Loading…
Reference in New Issue
Block a user