FIX - slow payphone hangup animation

This commit is contained in:
Dominik
2026-08-10 20:52:59 +02:00
parent 7542ffea65
commit 39371d4932
3 changed files with 3 additions and 3 deletions
+1 -1
View File
@@ -65,7 +65,7 @@ Config.Payphones = {
Dictionary = "anim@scripted@payphone_hits@male@",
PedClip = "FXFR_PAV_1_INTRO_MALE",
PropClip = "FXFR_PAV_1_INTRO_PHONE",
HangupDurationMs = 1200,
HangupDurationMs = 2000,
},
}
+1 -1
View File
@@ -195,7 +195,7 @@ local function play_hangup_visuals()
visuals_ending = true
local scene = animation_scene
local starting_phase = math.max(0.0, math.min(1.0, GetSynchronizedScenePhase(scene)))
local duration_ms = math.max(250, math.floor(tonumber(Config.Payphones.Animation.HangupDurationMs) or 1200))
local duration_ms = math.max(250, math.floor(tonumber(Config.Payphones.Animation.HangupDurationMs) or 2000))
local started_at = GetGameTimer()
SetSynchronizedSceneRate(scene, 0.0)
+1 -1
View File
@@ -272,7 +272,7 @@ local function finish_call(call, status)
if call.payphone then
local hangup_duration = math.max(
250,
math.floor(tonumber(Config.Payphones.Animation.HangupDurationMs) or 1200)
math.floor(tonumber(Config.Payphones.Animation.HangupDurationMs) or 2000)
)
send_payphone_visual(call, "stop", hangup_duration)
end