Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Replace ACT_GMOD_SIT_ROLLERCOASTER with ACT_HL2MP_SIT animation on playerstart chairs #382

Merged
8 changes: 4 additions & 4 deletions lua/acf/entities/playerstart_chairs.lua
Original file line number Diff line number Diff line change
Expand Up @@ -20,8 +20,8 @@ local function AddVehicle(Class, Data)
list.Set("Vehicles", Class, Entry)
end

local function HandleRollercoasterAnimation(_, Player)
return Player:SelectWeightedSequence(ACT_GMOD_SIT_ROLLERCOASTER)
local function HandlePHXSeatAnimation(_, Player)
return Player:SelectWeightedSequence(ACT_HL2MP_SIT)
end

local function HandlePHXVehicleAnimation(_, Player)
Expand Down Expand Up @@ -51,7 +51,7 @@ AddVehicle("playerstart_chairs_airboat", {
AddVehicle("playerstart_chairs_seated", {
Name = "Sitting Pose",
Model = "models/chairs_playerstart/sitposealt.mdl",
Animation = HandleRollercoasterAnimation,
Animation = HandlePHXSeatAnimation,
})

AddVehicle("playerstart_chairs_podpose", {
Expand All @@ -68,7 +68,7 @@ Category = "Playerstart Chairs (Experimental)"
AddVehicle("playerstart_chairs_seated_alt", {
Name = "Sitting Pose (Alt Physics)",
Model = "models/chairs_playerstart/sitpose.mdl",
Animation = HandleRollercoasterAnimation,
Animation = HandlePHXSeatAnimation,
})

AddVehicle("playerstart_chairs_standing", {
Expand Down
Loading