dont select generated bricks; ctrl+select generated bricks selects parent; remove copy
This commit is contained in:
@ -269,10 +269,13 @@ package NewDuplicator_Server_Final
|
||||
//Planting the ghost brick (default: numpad enter)
|
||||
function serverCmdPlantBrick(%client)
|
||||
{
|
||||
if(%client.ndModeIndex)
|
||||
if(%client.ndModeIndex) {
|
||||
%client.ndMode.onPlantBrick(%client);
|
||||
else
|
||||
if(isObject(%client.player))
|
||||
%client.player.playThread(3, plant);
|
||||
} else {
|
||||
parent::serverCmdPlantBrick(%client);
|
||||
}
|
||||
}
|
||||
|
||||
//Removing the ghost brick (default: numpad 0)
|
||||
@ -291,11 +294,11 @@ package NewDuplicator_Server_Final
|
||||
///////////////////////////////////////////////////////////////////////////
|
||||
|
||||
//Copy selection (ctrl c)
|
||||
function serverCmdNdCopy(%client)
|
||||
{
|
||||
if(%client.ndModeIndex)
|
||||
%client.ndMode.onCopy(%client);
|
||||
}
|
||||
//function serverCmdNdCopy(%client)
|
||||
//{
|
||||
// if(%client.ndModeIndex)
|
||||
// %client.ndMode.onCopy(%client);
|
||||
//}
|
||||
|
||||
//Paste selection (ctrl v)
|
||||
//function serverCmdNdPaste(%client)
|
||||
|
@ -19,10 +19,10 @@ function NewDuplicatorMode::onRotateBrick(%this, %client, %direction){}
|
||||
function NewDuplicatorMode::onPlantBrick(%this, %client){}
|
||||
function NewDuplicatorMode::onCancelBrick(%this, %client){}
|
||||
|
||||
function NewDuplicatorMode::onCopy(%this, %client)
|
||||
{
|
||||
ndmessageClient(%client, '', "\c6Copy can not be used in your current duplicator mode.");
|
||||
}
|
||||
//function NewDuplicatorMode::onCopy(%this, %client)
|
||||
//{
|
||||
// ndmessageClient(%client, '', "\c6Copy can not be used in your current duplicator mode.");
|
||||
//}
|
||||
|
||||
//function NewDuplicatorMode::onPaste(%this, %client)
|
||||
//{
|
||||
|
Reference in New Issue
Block a user