diff --git a/.editorconfig b/.editorconfig new file mode 100644 index 00000000..fef19e5d --- /dev/null +++ b/.editorconfig @@ -0,0 +1,7 @@ + +root = true +[*] +end_of_line = lf +insert_final_newline = true +charset = utf-8 +indent_style = tab diff --git a/.vscode/settings.json b/.vscode/settings.json new file mode 100644 index 00000000..d3b8b318 --- /dev/null +++ b/.vscode/settings.json @@ -0,0 +1,8 @@ +{ + "editor.tabSize": 4, + "editor.insertSpaces": false, + "editor.detectIndentation": false, + "editor.trimAutoWhitespace": true, + "files.trimTrailingWhitespace": true, + "files.eol": "\n" +} \ No newline at end of file diff --git a/lua/pac3/core/client/parts/camera.lua b/lua/pac3/core/client/parts/camera.lua index 7bfb7f5a..6f4cc1be 100644 --- a/lua/pac3/core/client/parts/camera.lua +++ b/lua/pac3/core/client/parts/camera.lua @@ -17,7 +17,7 @@ pac.EndStorableVars() function PART:Initialize() local owner = self:GetOwner(true) - if owner ~= NULL then + if owner ~= NULL then owner.pac_cameras = owner.pac_cameras or {} owner.pac_cameras[self] = self end