Skip to content

Commit

Permalink
remove unused and undefined arguments
Browse files Browse the repository at this point in the history
  • Loading branch information
rkusa committed Oct 29, 2022
1 parent 18e7c2e commit 708547d
Showing 1 changed file with 2 additions and 4 deletions.
6 changes: 2 additions & 4 deletions Scripts/Hooks/scratchpad-hook.lua
Original file line number Diff line number Diff line change
Expand Up @@ -453,8 +453,7 @@ local function loadScratchpad()
end

crosshairWindow = DialogLoader.spawnDialogFromFile(
lfs.writedir() .. "Scripts\\Scratchpad\\CrosshairWindow.dlg",
cdata
lfs.writedir() .. "Scripts\\Scratchpad\\CrosshairWindow.dlg"
)

local screenWidth, screenHeigt = dxgui.GetScreenSize()
Expand All @@ -473,8 +472,7 @@ local function loadScratchpad()
createCrosshairWindow()

window = DialogLoader.spawnDialogFromFile(
lfs.writedir() .. "Scripts\\Scratchpad\\ScratchpadWindow.dlg",
cdata
lfs.writedir() .. "Scripts\\Scratchpad\\ScratchpadWindow.dlg"
)

windowDefaultSkin = window:getSkin()
Expand Down

0 comments on commit 708547d

Please sign in to comment.