mirror of
https://github.com/IgorTimofeev/MineOS.git
synced 2025-12-20 19:19:21 +01:00
Update event.lua
This commit is contained in:
parent
c0a411a104
commit
b11d1b71b6
@ -230,9 +230,11 @@ end
|
||||
function event.takeScreenshot()
|
||||
if keyboard.isKeyDown(100) then
|
||||
computer.beep(1500)
|
||||
image.screenshot("screenshot.png")
|
||||
local screenshotPath = "screenshot.png"
|
||||
image.screenshot(screenshotPath)
|
||||
computer.beep(2000)
|
||||
computer.beep(2000)
|
||||
computer.pushSignal("screenshot", screenshotPath)
|
||||
end
|
||||
end
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user