]> de.git.xonotic.org Git - xonotic/xonotic-data.pk3dir.git/blobdiff - qcsrc/common/weapons/weapon/hook.qc
PutClientInServer: cleanup
[xonotic/xonotic-data.pk3dir.git] / qcsrc / common / weapons / weapon / hook.qc
index bc79a88a313db91961d254bbb1765966ce384f31..c158d1c3289be58c1881360c35fa8512717dbde8 100644 (file)
@@ -293,6 +293,8 @@ void W_Hook_Attack2(Weapon thiswep, entity actor)
                }
                METHOD(Hook, wr_resetplayer, void(entity thiswep))
                {
+                       RemoveGrapplingHook(self);
+                       self.hook_time = 0;
                        self.hook_refire = time;
                }
                METHOD(Hook, wr_suicidemessage, int(entity thiswep))