From: Mario Date: Sat, 7 Sep 2019 11:13:46 +0000 (+1000) Subject: Fix g_rocket_flying_disabledelays adding a slight delay to rocket detonation X-Git-Tag: xonotic-v0.8.5~1297 X-Git-Url: https://git.rm.cloudns.org/?a=commitdiff_plain;h=95a9293c76faf1852f06181b9f07bf1bb7ed9462;p=xonotic%2Fxonotic-data.pk3dir.git Fix g_rocket_flying_disabledelays adding a slight delay to rocket detonation --- diff --git a/qcsrc/common/mutators/mutator/rocketflying/sv_rocketflying.qc b/qcsrc/common/mutators/mutator/rocketflying/sv_rocketflying.qc index 58e20568e..6e4c24081 100644 --- a/qcsrc/common/mutators/mutator/rocketflying/sv_rocketflying.qc +++ b/qcsrc/common/mutators/mutator/rocketflying/sv_rocketflying.qc @@ -11,7 +11,7 @@ MUTATOR_HOOKFUNCTION(rocketflying, EditProjectile) if(autocvar_g_rocket_flying_disabledelays && (proj.classname == "rocket" || proj.classname == "mine")) { // kill detonate delay of rockets - proj.spawnshieldtime = time; + proj.spawnshieldtime = -1; } }