dont select generated bricks; ctrl+select generated bricks selects parent; remove copy

This commit is contained in:
Redo
2025-07-22 17:32:45 -07:00
parent 2084d75180
commit a17e88ab0d
6 changed files with 68 additions and 23 deletions

View File

@ -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)