Фикс крайта растяжек, использование дефайна времени детонации на растяжке где надо#9389
Conversation
There was a problem hiding this comment.
Code Review
This pull request adjusts the tripwire grenade detonation time from 1 second to 0.4 seconds, moving the definition to the grenade file, and updates the crafting recipe requirements for tripwires. The review feedback recommends adding an English comment explaining the reasoning behind the 0.4-second detonation time according to the style guide, and suggests using PROC_REF instead of TYPE_PROC_REF for better readability and idiomatic code when referencing a proc within its own type context.
Important
The consumer version of Gemini Code Assist on GitHub is being sunset. Starting June 18, 2026, new organization installations will be blocked, and all code review activity will officially cease on July 17, 2026.
For more details on the timeline and next steps, please review the Help Documentation.
Что этот ПР делает
Черрипикает фиксы с ПРа #8849. Уменьшает время до взрыва гранаты до 0.4с ибо иначе с растяжками работают только с осколочными или мощными гранатами. Так будет хоть как то вредить от детонации более слабых гранат
Почему это хорошо для игры
Бубс попросил (а вообще багфиксы круто)
Демонстрация изменений
Изображения и видео
Список изменений
🆑
bugfix: Исправлен рецепт растяжки.
refactor: Перенос дефайна TRIPWIRE_GRENADE_DETONATION_TIME к гранатам и его использование.
balance: Уменьшено время детонации гранат на растяжках (1с -> 0.4с).
/:cl: