Skip to content

Commit

Permalink
UltraMegaChanges
Browse files Browse the repository at this point in the history
  • Loading branch information
RashCat committed Oct 7, 2023
1 parent 9eaebf4 commit fa0aa4b
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion tff_modular/modules/blooper/atoms_movable.dm
Original file line number Diff line number Diff line change
Expand Up @@ -80,5 +80,5 @@
for(var/i in 1 to barks)
if(total_delay > BARK_MAX_TIME)
break
addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/movable, bark), listening, MESSAGE_RANGE + 1, (vocal_volume * (is_yell ? 2 : 1)), BARK_DO_VARY(vocal_pitch, vocal_pitch_range), vocal_current_bark), total_delay) //На седьмом тайле функция равна нулю, поэтому мы обязаны ставить максимум на 1 тайл дальше.
addtimer(CALLBACK(src, TYPE_PROC_REF(/atom/movable, bark), listening, message_range + 1, (vocal_volume * (is_yell ? 2 : 1)), BARK_DO_VARY(vocal_pitch, vocal_pitch_range), vocal_current_bark), total_delay) //На седьмом тайле функция равна нулю, поэтому мы обязаны ставить максимум на 1 тайл дальше.
total_delay += rand(DS2TICKS(vocal_speed / BARK_SPEED_BASELINE), DS2TICKS(vocal_speed / BARK_SPEED_BASELINE) + DS2TICKS((vocal_speed / BARK_SPEED_BASELINE) * (is_yell ? 0.5 : 1))) TICKS

0 comments on commit fa0aa4b

Please sign in to comment.