]> git.rm.cloudns.org Git - xonotic/xonotic-data.pk3dir.git/commitdiff
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 58e20568eddf02d9d1ddd90616af3890d2e9ceb8..6e4c240813b9d6ab5a4b3c3a1ea4463271f2df03 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;
        }
 }