]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/client/hook.qc
prevent a new "stealth electro" exploit ;)
[xonotic/xonotic-data.pk3dir.git] / qcsrc / client / hook.qc
index 3e3d11cbc23d521f1ff7975adfd3f897b139d2b6..c1e8383aa6daf415356034b8b2bda1bc13193e7c 100644 (file)
@@ -261,7 +261,7 @@ void Ent_ReadHook(float bIsNew, float type)
 
        InterpolateOrigin_Note();
 
 
        InterpolateOrigin_Note();
 
-       if(bIsNew)
+       if(bIsNew || !self.teleport_time)
        {
                self.draw = Draw_GrapplingHook;
                self.entremove = Remove_GrapplingHook;
        {
                self.draw = Draw_GrapplingHook;
                self.entremove = Remove_GrapplingHook;