mirror of
https://github.com/centau/vide.git
synced 2026-08-20 14:41:37 +00:00
Add nil fallback for UserInputService assignment
This commit is contained in:
parent
28f909cf90
commit
870d07a469
1 changed files with 1 additions and 2 deletions
|
|
@ -1,5 +1,4 @@
|
||||||
-- vide/draggable.luau
|
local UserInputService = game:GetService("UserInputService") or nil
|
||||||
local UserInputService = game:GetService("UserInputService")
|
|
||||||
|
|
||||||
return function(action, cleanup)
|
return function(action, cleanup)
|
||||||
return function(opts)
|
return function(opts)
|
||||||
|
|
|
||||||
Loading…
Add table
Add a link
Reference in a new issue