Fix: forgot captureData for /bugs

This commit is contained in:
Linventif 2024-08-17 00:54:00 +00:00
parent f7614450e7
commit 462cb5e102

View File

@ -61,11 +61,12 @@ end)
local screenCapture = nil local screenCapture = nil
local screenFileID = nil local screenFileID = nil
local captureData = nil
hook.Add("PostRender", "gmInte:BugReport:Screenshot", function() hook.Add("PostRender", "gmInte:BugReport:Screenshot", function()
if !ScreenshotRequested then return end if !ScreenshotRequested then return end
if contextMenuOpen then return end if contextMenuOpen then return end
ScreenshotRequested = false ScreenshotRequested = false
local captureData = { captureData = {
format = "jpeg", format = "jpeg",
x = 0, x = 0,
y = 0, y = 0,