add /toggleOwnership /to
This commit is contained in:
@ -28,7 +28,7 @@ function NDM_PlantCopy::onChangeMode(%this, %client, %nextMode)
|
||||
{
|
||||
%client.ndSelection.deleteData();
|
||||
}
|
||||
%client.ndOwnership = false;
|
||||
%client.ndOwnership = %client.ndOwnershipPerma || false;
|
||||
}
|
||||
|
||||
//Kill this mode
|
||||
@ -36,7 +36,7 @@ function NDM_PlantCopy::onKillMode(%this, %client)
|
||||
{
|
||||
//Destroy the selection
|
||||
%client.ndSelection.delete();
|
||||
%client.ndOwnership = false;
|
||||
%client.ndOwnership = %client.ndOwnershipPerma || false;
|
||||
}
|
||||
|
||||
|
||||
@ -130,7 +130,7 @@ function NDM_PlantCopy::onPlantBrick(%this, %client)
|
||||
|
||||
%this.conditionalPlant(%client, %client.ndForcePlant, %client.ndOwnership);
|
||||
|
||||
%client.ndOwnership = false;
|
||||
%client.ndOwnership = %client.ndOwnershipPerma || false;
|
||||
}
|
||||
|
||||
//Cancel Brick
|
||||
|
Reference in New Issue
Block a user