diff --git a/lib/event.lua b/lib/event.lua index b2160b17..b3a642df 100644 --- a/lib/event.lua +++ b/lib/event.lua @@ -228,11 +228,11 @@ function event.shouldSoftInterrupt() end function event.takeScreenshot() - if keyboard.isControlDown() and keyboard.isShiftDown() and keyboard.isKeyDown(keyboard.keys["1"]) then + if keyboard.isKeyDown(100) then + computer.beep(200) + image.screenshot("screenshot.png") + computer.beep(500) computer.beep(500) - image.screenshot("screenshot.jpg") - computer.beep(1200) - computer.beep(1200) end end