Skip to content

Commit

Permalink
Merge remote-tracking branch 'upstream/master' into sound-lib
Browse files Browse the repository at this point in the history
  • Loading branch information
thecraftianman committed Dec 1, 2023
2 parents 70bb955 + c0f2b6a commit ab6f798
Show file tree
Hide file tree
Showing 5 changed files with 21 additions and 29 deletions.
25 changes: 0 additions & 25 deletions .github/workflows/GLuaFixer.yml

This file was deleted.

17 changes: 17 additions & 0 deletions .github/workflows/GLuaLint.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,17 @@
name: GLuaLint

on:
push:
paths:
- 'lua/**'
- '!lua/entities/gmod_wire_expression2/**'
pull_request:
paths:
- 'lua/**'
- '!lua/entities/gmod_wire_expression2/**'

jobs:
Lint:
uses: FPtje/GLuaFixer/.github/workflows/glualint.yml@master
with:
config: "./.glualint.json"
4 changes: 2 additions & 2 deletions .glualint.json
Original file line number Diff line number Diff line change
Expand Up @@ -17,7 +17,7 @@
"lint_unusedVars": true,
"lint_unusedParameters": true,
"lint_unusedLoopVars": true,
"lint_ignoreFiles": [],
"lint_ignoreFiles": ["lua/entities/gmod_wire_expression2/core/custom/*.lua"],

"prettyprint_spaceAfterParens": false,
"prettyprint_spaceAfterBrackets": false,
Expand All @@ -30,4 +30,4 @@
"prettyprint_rejectInvalidCode": false,
"prettyprint_indentation": "\t",
"log_format": "auto"
}
}
2 changes: 1 addition & 1 deletion README.md
Original file line number Diff line number Diff line change
Expand Up @@ -3,7 +3,7 @@
[![Discord Invite](https://img.shields.io/discord/654142834030542878?label=Chat&style=flat-square)](https://discord.gg/jgdzysxjST)
[![Steam Group](https://img.shields.io/badge/ACF%20Official-Join%20Now!-informational?style=flat-square)](https://steamcommunity.com/groups/officialacf)
[![Linting Status](https://img.shields.io/github/actions/workflow/status/Stooberton/ACF-3/GLuaFixer.yml?branch=master&label=Linter%20Status&style=flat-square)](https://github.com/Stooberton/ACF-3/actions?query=workflow%3AGLuaFixer)
[![Linting Status](https://img.shields.io/github/actions/workflow/status/Stooberton/ACF-3/GLuaLint.yml?branch=master&label=Linter%20Status&style=flat-square)](https://github.com/Stooberton/ACF-3/actions?query=workflow%3AGLuaLint)
[![Test Suite](https://img.shields.io/github/actions/workflow/status/Stooberton/ACF-3/gluatest.yml?branch=master&label=Test%20Suite&style=flat-square)](https://github.com/CFC-Servers/GLuaTest)
[![Repository Size](https://img.shields.io/github/repo-size/Stooberton/ACF-3?label=Repository%20Size&style=flat-square)](https://github.com/Stooberton/ACF-3)
[![Commit Activity](https://img.shields.io/github/commit-activity/m/Stooberton/ACF-3?label=Commit%20Activity&style=flat-square)](https://github.com/Stooberton/ACF-3/graphs/commit-activity)
Expand Down
2 changes: 1 addition & 1 deletion lua/acf/ballistics/ballistics_sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -315,7 +315,7 @@ do -- Terminal ballistics --------------------------
)
end

if HitRes.Kill then
if HitRes.Kill and IsValid(Entity) then
ACF.APKill(Entity, Bullet.Flight:GetNormalized(), Energy.Kinetic, DmgInfo)
end

Expand Down

0 comments on commit ab6f798

Please sign in to comment.