]> git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/server/g_world.qc
Vehicle antilag
[xonotic/xonotic-data.pk3dir.git] / qcsrc / server / g_world.qc
index b134886d4f6fcfc54281c1af591fb028650650c8..5560c0b736ef5ec67497972015d3682122ebd27f 100644 (file)
@@ -2853,6 +2853,8 @@ void EndFrame()
                self.hitsound = FALSE;
                self.typehitsound = FALSE;
                antilag_record(self, altime);
+               if(self.vehicle)
+            antilag_record(self.vehicle, altime);
        }
 }