Fix g_rocket_flying_disabledelays adding a slight delay to rocket detonation
authorMario <mario@smbclan.net>
Sat, 7 Sep 2019 11:13:46 +0000 (21:13 +1000)
committerMario <mario@smbclan.net>
Sat, 7 Sep 2019 11:13:46 +0000 (21:13 +1000)
qcsrc/common/mutators/mutator/rocketflying/sv_rocketflying.qc

index 58e2056..6e4c240 100644 (file)
@@ -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;
        }
 }