mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2026-01-07 19:52:40 +01:00
Update event.lua
This commit is contained in:
parent
deb040a98e
commit
64c189f0ef
@ -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
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user