Allow selections when dumping, added thrusters and modules
This commit is contained in:
parent
1b126b69c0
commit
bd813d852d
2 changed files with 39 additions and 1 deletions
|
@ -31,7 +31,9 @@ namespace Pixi.Robots
|
|||
{
|
||||
Player local = new Player(PlayerType.Local);
|
||||
Block baseBlock = local.GetBlockLookedAt();
|
||||
Block[] blocks = baseBlock.GetConnectedCubes();
|
||||
Block[] blocks = local.GetSelectedBlocks();
|
||||
if (blocks.Length == 0)
|
||||
blocks = baseBlock.GetConnectedCubes();
|
||||
bool isBaseScaled = !(baseBlock.Scale.x > 0 && baseBlock.Scale.x < 2 && baseBlock.Scale.y > 0 && baseBlock.Scale.y < 2 && baseBlock.Scale.z > 0 && baseBlock.Scale.z < 2);
|
||||
if (isBaseScaled)
|
||||
{
|
||||
|
|
File diff suppressed because one or more lines are too long
Loading…
Reference in a new issue