Skip to content

Commit

Permalink
fix: add nil check to hideScaleform
Browse files Browse the repository at this point in the history
  • Loading branch information
swkeep committed Jun 22, 2024
1 parent dfa8cf0 commit 464b7c9
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions interactionMenu/lua/client/3dDuiMaker.lua
Original file line number Diff line number Diff line change
Expand Up @@ -191,6 +191,7 @@ local controls = {
}

local function hideScaleform()
if not scaleform then return end
scaleform.send("interactionMenu:hideMenu")
scaleform.send("interactionMenu:loading:hide")
exports['interactionMenu']:pause(false)
Expand Down

0 comments on commit 464b7c9

Please sign in to comment.