mirror of
https://github.com/gmod-integration/lua.git
synced 2025-03-15 22:07:34 +00:00
Fix: forgot captureData for /bugs
This commit is contained in:
parent
f7614450e7
commit
462cb5e102
|
@ -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,
|
||||||
|
|
Loading…
Reference in New Issue
Block a user