From b8c04246b906891054db9f2ec7f31fe7772fde70 Mon Sep 17 00:00:00 2001 From: Linventif Date: Sun, 10 Mar 2024 03:53:41 +0100 Subject: [PATCH] add: timer of 0.5 before taking screenshot --- lua/gmod_integration/client/cl_screenshots.lua | 4 +++- 1 file changed, 3 insertions(+), 1 deletion(-) diff --git a/lua/gmod_integration/client/cl_screenshots.lua b/lua/gmod_integration/client/cl_screenshots.lua index a13a517..6068250 100644 --- a/lua/gmod_integration/client/cl_screenshots.lua +++ b/lua/gmod_integration/client/cl_screenshots.lua @@ -49,7 +49,9 @@ end) // function gmInte.takeScreenShot() - ScreenshotRequested = true + timer.Simple(0.5, function() + ScreenshotRequested = true + end) end //