fstd / teeworlds

A retro multiplayer shooter
http://teeworlds.com
Other
32 stars 13 forks source link

openfng - friendly hook_register_delay #51

Closed fstd closed 13 years ago

fstd commented 13 years ago

sv_hook_register_delay has been introduced in order to avoid noobs spamming their hooks down a shrine in order to be the ones to get all the score for sacrificing. its effect is that hooking will only be registered as an interaction, when the duration having hooked is longer than sv_hook_register_delay ticks. currently, this applies to everyone (enemies and teammates), but it should be skipped for teammates, in order to have their interactions always be registered right when happening

fstd commented 13 years ago

done by 5568d92ef94f9e3eb05a74180db857a80887a50d