mirror of
https://github.com/sky-systems/sky_phone.git
synced 2026-09-04 09:13:24 +00:00
FIX - slow payphone hangup animation
This commit is contained in:
@@ -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
|
||||
|
||||
Reference in New Issue
Block a user