Skip to content

Commit

Permalink
Added to "Pod Style" Seat Alias whitelist
Browse files Browse the repository at this point in the history
Fixes #417

Adds the other "Pod" style seats to the "Pod" style hitbox whitelist for seat Aliases.
  • Loading branch information
bluemetaknight committed Aug 5, 2024
1 parent 1fea7cf commit 6a9e4e4
Showing 1 changed file with 6 additions and 1 deletion.
7 changes: 6 additions & 1 deletion lua/acf/core/utilities/util_sv.lua
Original file line number Diff line number Diff line change
Expand Up @@ -695,7 +695,12 @@ do -- Seat alias system
["prop_vehicle_prisoner_pod"] = function(Ply,Vic)
-- Using the same shitty hack that whoever wrote however long ago in garrysmod/gamemodes/base/gamemode/animations.lua #171

if Vic:GetModel() == "models/vehicles/prisoner_pod_inner.mdl" then
if Vic:GetModel() == "models/vehicles/prisoner_pod_inner.mdl" or

Check warning on line 698 in lua/acf/core/utilities/util_sv.lua

View workflow job for this annotation

GitHub Actions / Lint / lint

"Trailing whitespace"

Trailing whitespace
Vic:GetModel() == "models/chairs_playerstart/podpose.mdl" or

Check warning on line 699 in lua/acf/core/utilities/util_sv.lua

View workflow job for this annotation

GitHub Actions / Lint / lint

"Trailing whitespace"

Trailing whitespace
Vic:GetModel() == "models/vehicles/driver_pod.mdl" or

Check warning on line 700 in lua/acf/core/utilities/util_sv.lua

View workflow job for this annotation

GitHub Actions / Lint / lint

"Trailing whitespace"

Trailing whitespace
Vic:GetModel() == "models/chairs_playerstart/pronepose.mdl" or
Vic:GetModel() == "models/chairs_playerstart/standingpose.mdl" then

Check warning on line 703 in lua/acf/core/utilities/util_sv.lua

View workflow job for this annotation

GitHub Actions / Lint / lint

"Trailing whitespace"

Trailing whitespace
return Ply:LookupSequence("drive_pd")
else
return Ply:LookupSequence("sit_rollercoaster")
Expand Down

0 comments on commit 6a9e4e4

Please sign in to comment.