Add editor copy keybinding (#8369)

This commit is contained in:
Leon Friedrich
2022-06-06 10:58:20 +12:00
committed by GitHub
parent 4fbea3cd13
commit ff9d8f96e0
6 changed files with 60 additions and 0 deletions

View File

@@ -29,6 +29,9 @@ namespace Content.Client.Input
common.AddFunction(ContentKeyFunctions.Point);
common.AddFunction(ContentKeyFunctions.OpenContextMenu);
// Not in engine, because engine cannot check for sanbox/admin status before starting placement.
common.AddFunction(ContentKeyFunctions.EditorCopyObject);
var human = contexts.GetContext("human");
human.AddFunction(ContentKeyFunctions.SwapHands);
human.AddFunction(ContentKeyFunctions.Drop);