Cleaning
This commit is contained in:
@@ -45,6 +45,10 @@ function GUI:initialize(renderDevice)
|
||||
self._lastMouseX = 0
|
||||
self._lastMouseY = 0
|
||||
hook.add("think", "gui_think", function()
|
||||
if not hasPermission("input") then
|
||||
return
|
||||
end
|
||||
|
||||
if input.getCursorVisible then
|
||||
local x, y = input.getCursorPos()
|
||||
|
||||
|
||||
Reference in New Issue
Block a user