Skip to content

Commit

Permalink
Fix lint warnings
Browse files Browse the repository at this point in the history
  • Loading branch information
Dutchman101 committed Jun 11, 2024
1 parent 4e3c579 commit e1b9f74
Show file tree
Hide file tree
Showing 4 changed files with 1 addition and 8 deletions.
2 changes: 1 addition & 1 deletion [editor]/move_cursor/controlinterface.lua
Original file line number Diff line number Diff line change
Expand Up @@ -25,7 +25,7 @@ function sticknumbertoMult(number,mult,mode)
end

_setElementPosition = setElementPosition
function setElementPosition(element,x,y,z,warp)
function setElementPosition(element,x,y,z,warp)
if not (element and isElement(element)) then return false end
local exactsnap = exports["editor_gui"]:sx_getOptionData("enablePrecisionSnap")
local snaplevel = tonumber(exports["editor_gui"]:sx_getOptionData("precisionLevel"))
Expand Down
2 changes: 0 additions & 2 deletions [editor]/move_cursor/move_cursor.lua
Original file line number Diff line number Diff line change
Expand Up @@ -274,8 +274,6 @@ function detachElement()
rotX, rotY, rotZ = getElementRotation(selectedElement, "ZYX")
triggerServerEvent("syncProperty", localPlayer, "rotation", {rotX, rotY, rotZ}, exports.edf:edfGetAncestor(selectedElement))
end
else
-- outputDebugString("Denied syncing for local element.")
end
selectedElement = nil

Expand Down
3 changes: 0 additions & 3 deletions [editor]/move_freecam/move_freecam.lua
Original file line number Diff line number Diff line change
Expand Up @@ -246,9 +246,6 @@ function detachElement()
if hasRotation[getElementType(selectedElement)] then
triggerServerEvent("syncProperty", localPlayer, "rotation", {rotX, rotY, rotZ}, exports.edf:edfGetAncestor(selectedElement))
end

else
-- outputDebugString("Denied syncing for local element.")
end
selectedElement = nil

Expand Down
2 changes: 0 additions & 2 deletions [editor]/move_keyboard/move_keyboard.lua
Original file line number Diff line number Diff line change
Expand Up @@ -429,8 +429,6 @@ function detachElement()
rotX, rotY, rotZ = getElementRotation(selectedElement, "ZYX")
triggerServerEvent("syncProperty", localPlayer, "rotation", {rotX, rotY, rotZ}, exports.edf:edfGetAncestor(selectedElement))
end
else
-- outputDebugString("Denied syncing for local element.")
end
selectedElement = nil
posX, posY, posZ = nil, nil, nil
Expand Down

0 comments on commit e1b9f74

Please sign in to comment.