mirror of
https://github.com/infinitefusion/infinitefusion-e18.git
synced 2025-12-06 06:01:46 +00:00
Workaround for broken screenshot-taking code due to latest mkxp-z
This commit is contained in:
@@ -581,6 +581,6 @@ def pbScreenCapture
|
|||||||
t = pbGetTimeNow
|
t = pbGetTimeNow
|
||||||
filestart = t.strftime("[%Y-%m-%d] %H_%M_%S.%L")
|
filestart = t.strftime("[%Y-%m-%d] %H_%M_%S.%L")
|
||||||
capturefile = RTP.getSaveFileName(sprintf("%s.png", filestart))
|
capturefile = RTP.getSaveFileName(sprintf("%s.png", filestart))
|
||||||
Graphics.screenshot(capturefile)
|
Graphics.snap_to_bitmap.to_file(capturefile)
|
||||||
pbSEPlay("Pkmn exp full") if FileTest.audio_exist?("Audio/SE/Pkmn exp full")
|
pbSEPlay("Pkmn exp full") if FileTest.audio_exist?("Audio/SE/Pkmn exp full")
|
||||||
end
|
end
|
||||||
|
|||||||
Reference in New Issue
Block a user