Calculate building placement offsets in screen space.
This commit is contained in:
committed by
Oliver Brakmann
parent
0161d68237
commit
0f6dda3f5f
@@ -200,7 +200,7 @@ namespace OpenRA.Mods.Common.Widgets
|
||||
|
||||
if (item != null && item.Done && actor.HasTraitInfo<BuildingInfo>())
|
||||
{
|
||||
World.OrderGenerator = new PlaceBuildingOrderGenerator(CurrentQueue, icon.Name);
|
||||
World.OrderGenerator = new PlaceBuildingOrderGenerator(CurrentQueue, icon.Name, worldRenderer);
|
||||
return true;
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user